SLAC has a shared installation of conda with Fermitools and 3ML environments for general use.
The currently available environments are:
- fermitools-2.2.0 - latest version, released 2022-06-21 (Release Notes) with fermipy 1.1.3 (Release Notes)
- fermitools-2.0.8 - previous version, released 2021-01-20 (Release Notes) with fermipy 1.0.1 (Release Notes)
- fermitools-2.0 - previous version, released 2020-09-21 (Release Notes)
- fermitools-1.2.23 - previous version, released 2020-02-11 (Release Notes)
- threeML-1.1.1 (Release Notes)
The base of the environment is /nfs/farm/g/glast/software/conda.
Running the Tools
You can activate one of the environments listed above by running (from a bash shell, which may not be your default shell), e.g,.
Old cluster (bullet etc):
source /nfs/farm/g/glast/software/conda/bin/activate fermitools-2.2.0
SDF:
source /sdf/group/fermi/software/conda/bin/activate fermitools-2.2.0
S3DF:
source /sdf/group/fermi/sw/conda/bin/activate fermitools-2.2.0
If you suspect the list on this page is not up-to-date, you can also first activate the conda base environment:
source /nfs/farm/g/glast/software/conda/bin/activate
and see a list of installed environments
conda env list
which will give you output like
# conda environments: # base * /nfs/farm/g/glast/software/conda fermitools-1.2.23 /nfs/farm/g/glast/software/conda/envs/fermitools-1.2.23 fermitools-2.0 /nfs/farm/g/glast/software/conda/envs/fermitools-2.0 fermitools-2.0.8 /nfs/farm/g/glast/software/conda/envs/fermitools-2.0.8 threeML-1.1.1 /nfs/farm/g/glast/software/conda/envs/threeML-1.1.1
which can then be activated with, e.g.,
conda activate fermitools-2.0.8
Troubleshooting
If the activation fails with an error like:
_CONDA_ROOT=/nfs/farm/g/glast/software/conda: Command not found. _CONDA_ROOT: Undefined variable.
You are likely not in a bash shell.
If the problem seems to be with the conda installation at SLAC, message Brian.
If the problem seems to be with the Fermitools, see the Troubleshooting and Error Reporting pages.