Versions Compared

Key

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

...

One disadvantage of creating your own environments is that they can use significant disk space.  If you run into disk space issues send email to pcds-ana-l@slac.stanford.edu. See the section below for a special area that has been created to store conda envs.

If you want to create a new environment with a selected set of packages use a command like this (after sourcing the appropriate psana1/psana2 setup script).

...

Code Block
conda remove <packagename>

Installation Area (To Avoid Quota Issues)

A special installation area has been created for users to install conda environments to avoid using up quota.  Use commands similar to these to create your own environments:

Code Block
source /cds/sw/ds/ana/conda2/manage/bin/psconda.sh  #to clone LCLS2 environments. replace "conda2" with "conda1" for LCLS1
export CONDA_PKGS_DIRS=/cds/sw/package/conda_envs/.pkgs # avoids storing large package files in your home directory
conda create --prefix /cds/sw/package/conda_envs/my-h5-1.0.0 --clone h5-1.0.0

Anaconda+pip

Some packages are not available from anaconda but they can be installed via pip (in this case the "rayopt" package):

...