Conda¶
Important
We recommend the use of Intel Distribution for Python, part of Intel oneAPI installation, whenever possible. It comes with its own Conda tools and local Conda channel. Refer to Discoverer Python Project for more details.
Invoking Conda¶
To obtain access to the installed Conda tool, load the module intel.universe
in your Slurm batch script:
module load intel.universe
Afterwards any execution of conda
from within that script, without specifying the full path to the executable, will invoke the Conda tool provided by Intel Distribution for Python (Intel oneAPI).
Local Conda channel¶
By default, Intel Distribution for Python installs and maintains (through updates) local Conda channel. The exact location of that channel is:
/opt/software/intel/oneapi/conda_channel
Warning
On Discoverer HPC users should use Conda to create local environment installations ONLY within their Personal scratch and storage folder (/discofs/username). Do not store the Python virtual environments under Home folder (/home/username) since they occupy large amount of disk space!
To install a virtual environment with Conda on Discoverer HPC, based on the local channel, follow the example:
mkdir -p /discofs/${USER}/jupyter_test_env_numpy
conda install -y -c /opt/software/intel/oneapi/conda_channel -p /discofs/${USER}/jupyter_test_env_numpy jupyterlab seaborn
Display the channels¶
To display the channels available to Conda, run:
module load intel.universe
conda config --show channels
The expected result of that command line execution is:
channels:
- /opt/intel/oneapi/conda_channel
- intel
- defaults
(mind the listed local channel).
Getting help¶
See Getting help