You can eaily activate your conda environment by using the script::
pyicon/tools/conda_act_mistral_pyicon_env.sh
In this script modify the path of your conda installation in the line starting with ```path_conda_bin=```. After doing this, you can activate your conda environment by executing::
A suitable python environment can be easily created by using conda. Therefore, we roughly outline here how to install conad but we refer to more detailed documentations wwhich can be found in the web. We are explaining the installation of conda using miniconda but other conda versions should work as well.
Go to::
https://docs.conda.io/en/latest/miniconda.html
Pick an installer for Python 3.8 and download the file (e.g. right click on the link, "copy link", go to shell type wget and paste the link).
After downloading the script change the rights (chmod 755 <script>) and execute it (./<script>).
If conda is installed successfully, you should see something like '(base)' infront of your shell line.
General installation instructions
---------------------------------
...
...
@@ -87,6 +81,7 @@ or by adding the following lines at the beginning of each of your python scripts
sys.path.insert(0,'/path/to/pyicon')
Pyicon depends on a number of python libraries typically used for geoscience data evaluation and plotting.
The easiest installation is probably by using conda (see below).
On the DKRZ Mistral computer cluster, it is possible to make use of pre-installed python libraries.
The easiest installation is probably by using conda. A suitable python environment for pyicon can be installed using conda from this file::