Loading Conda
Conda is now available to all users on the new Atos HPC. To use Conda, simply load the module using the following command:
module load conda
WARNING: loading conda will unload all the modules already loaded and will prevent you from loading new ones. This is done to avoid potential conflicts between packages installed in your conda environments and those from the module system (eccodes, ecflow, compilers, etc.).
To go back to the module system, use the reset command:
module reset
Simply unloading the Conda module won't be enough to go back to the defaults state, many modules won't be visible. It's best to reset the module system.
Loading Conda will give you access to the base environment, with only limited packages available. To access more complex environments, you can either load one of the shared environments, with the list available through the command:
conda env list
or create your own environment, following the approaches listed in Getting started with Conda.
Defining your Conda configuration file
Advanced users may be interested in fine tuning their configuration file. This can be done through the conda interface: https://docs.conda.io/projects/conda/en/latest/commands/config.html
The following default conda configuration is provided by the module:
channels: - conda-forge pkgs_dirs: - $PERM/conda/pkgs envs_dirs: - $PERM/conda/envs
You can change your default configuration in the .condarc file located in your home folder. For instance:
pkgs_dirs: - $SCRATCH/conda/pkgs conda-build: # where to build recipes, best to avoid $TMPDIR root-dir: /scratch/$USER/conda/build
More information on configuration:
https://docs.conda.io/projects/conda/en/latest/user-guide/configuration/use-condarc.html