Note: the following instructions do not apply for Bianca!
In case you insist using conda from the module system, please follow these instructions. Conda - best practices @ UPPMAX
If you experience unexpected problems with the conda
provided by the module system on Rackham or anaconda3
on Dardel, you can easily install your own and maintain it yourself.
:exclamation:Important: Please, install miniforge3
or miniconda3
in your project folder!:exclamation:
Home folders at UPPMAX have 32GB (25GB on Dardel) which is rather limited storage space for most common conda installations.
:exclamation:Important: Please, install miniforge3
or miniconda3
in your project folder!:exclamation:
.conda
directory and .condarc
in your home folder if you had ones from previous use. Look in your ~/.bashrc
and remove leftovers from other conda installations. Delete everything between ## >>> conda initialize >>>
and ## <<< conda initialize <<<
including these two lines. Remove any exports related to conda i.e. VARIABLES starting with CONDA_
miniforge3
https://github.com/conda-forge/miniforge/proj/naiss2023-XXX-XX/nobackup/miniforge3
. Choose to initialize the shell.
conda
setup, then disable the auto activation of the base environment. Working from the conda base environment might interfere with the software modules provided by the computer center.conda
works
CONDA_ENVS_PATH
if you want to specify different location than the default miniconda3/miniforge3 sub-folder for the new conda environments.
(base)
environment (although not a good practice).Conda - "best practices" - UPPMAX
conda
, mamba
, poetry
, pip
just my personal opinion π€π§: I hope this or similar project becomes more popular or standardβ¦
~/.bashrc
for conda configuration and remove these lines - if uncertain - copy them in another file, for safetyβ¦conda init --reverse
to reverse the damage. This is problematic only on Rackham and Bianca, where this is not the correct way to activate conda.UPPMAX
, PDC
, conda
, mamba