The cluster already has a shared Anaconda install anyone can use — you just need to initialize it once per account.
Copy the following into a file — call it conda.sh:
export PATH=$PATH:/home/software/hess/anaconda3/bin:/home/software/hess/anaconda3/condabin # access to anaconda conda init bash # for environment activation conda config --set auto_activate_base false # don't activate base by default
Then run it once:
source conda.sh
Log out and back in. From then on, conda works normally without repeating this step.
A few environments already exist on the shared install — see what's there:
conda env list
Create your own environment tailored to what you need, then activate it:
conda create --name <environment name> python=<python version> conda activate <environment name>
conda install <package>
For anything beyond this, the conda documentation covers the rest.
Don't hand-build a Paris Analysis environment from scratch — use the current
pa10 alias described in
Paris Analysis & H.E.S.S. access, which
activates the right conda environment (and ROOT version) for you.