Conda on HPC systems
Many HPC systems make either Miniconda or Anaconda (or both!) available to users via Environment Modules. In this case a user will need to load the relevant module instead of installing Conda.
$ module load miniconda
Avoid running the
conda init
commandUsing the
conda init
command is not advisable on HPC systems that use Environment Modules to make Miniconda or Anaconda available to users. The reason is that running theconda init
command makes changes to a user’s~/.bashrc
file. If the user subsequently forgets to reverse these changes usingconda init --reverse
, thenconda
will still be available even after unloading or purging theminiconda
module. This opens the distinct possibility of a user accidently leaving his/her shell environment in an unexpected state.