Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
[username@computername ~]$ ml anaconda3
##################################################################################### 
#### Run "conda env list" to list all the environments
#### Load environment "conda activate env_name" where env_name is one from the list
#### Remember to run "conda deactivate" before unload/purge anaconda3
#### otherwise you will have to restart your shell to avoid possible issues
#################################################################################
[username@computername ~]$ init-conda[username@computername ~]$ conda env list
# conda environments:
#base                     /cluster/apps/software/anaconda3/2022.05
astroconda               /cluster/apps/software/anaconda3/2022.05/envs/astroconda
astrosource              /cluster/apps/software/anaconda3/2022.05/envs/astrosource
ciao                     /cluster/apps/software/anaconda3/2022.05/envs/ciao
fermi  fermitools                  /cluster/apps/software/anaconda3/2022.05/envs/fermifermitools
iraf                     /cluster/apps/software/anaconda3/2022.05/envs/iraf
phoebe                   /cluster/apps/software/anaconda3/2022.05/envs/phoebe
posydon                  /cluster/apps/software/anaconda3/2022.05/envs/posydon
python-2.7               /cluster/apps/software/anaconda3/2022.05/envs/python-2.7
[username@computername ~]$ conda activate astrosource

# after finishing your tasks either exit the terminal or, you must deactivate the
# environment before unloading/purging the loaded modulefiles
(astrosource) [username@computername ~]$ conda deactivate
[username@computername ~]$ ml purge

...

...