A SLAC has a shared installation of conda, with fermitools, has been created at SLAC. with Fermitools and 3ML environments for general use.
The currently available environments are:
- fermitools-2.0 - latest version, release 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
The only environment currently existing is fermitools-1.2.23, which has only the fermitools 1.2.23 release installed in it.
...
.
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,.
source /nfs/farm/g/glast/software/conda/bin/activate
...
fermitools-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
Code Block |
---|
# # conda environments: # # # base * /nfs/farm/g/glast/software/conda # fermitools-1.2.23 /nfs/farm/g/glast/software/conda/envs/fermitools-1.2.23 # /u/gl/bvan/nfs/opt/conda # activate a subsequent environment conda activate fermitools-1.2.23 # activate the environment directly source fermitools-2.0 /nfs/farm/g/glast/software/conda/envs/fermitools-2.0 threeML-1.1.1 /nfs/farm/g/glast/software/conda/bin/envs/threeML-1.1.1 |
which can then be activated with, e.g.,
conda activate fermitools-
...
2.0
Troubleshooting
If the activation fails with an error like:
Code Block |
---|
_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.