Versions Compared

Key

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

...

the new env will be the clone of the "from_env_name" and the packages will be stored in the system env ("/cds/sw/ds/ana/conda1 2/inst/envs/")

  • conda deactivate
  • conda create --clone "from_env_name" --name "new_env_name"
  • conda activate "new_env_name"

If one runs these commands without using the psrel or psreldev user, the files will be instead stored in the local folder 
/cds/home/a-z/"user_name"/.conda/envs/
home folders have limited storage.

Modify existing Environment

Once sourced the correct psconda.sh and having used the correct username (psrel/psreldev), one can activate any environment needed:
conda env list (lists every environment available)
conda activate "the environment to be changed"

and then the user can install or uninstall packages from that environment.
N.B.
This WILL modify PRODUCTION