Page History
...
A special installation area has been created for users to install conda environments to avoid using up home-directory quota space. Use commands similar to these to create your own environments. NOTE: the example below is for the old psana farm, in s3df the location is /sdf/group/lcls/ds/tools/conda_envs.
Code Block |
---|
source /cds/sw/ds/ana/conda2/manage/bin/psconda.sh # for LCLS2 environments. replace "conda2" with "conda1" for LCLS1 # for the following 3 commands, change "my-h5-1.0.0" to the name of your environment export CONDA_PKGS_DIRS=/cds/sw/package/conda_envs/my-h5-1.0.0/.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 chmod -R +r /cds/sw/package/conda_envs/my-h5-1.0.0 # make directory world-readable |
...
A python virtualenv can be used to install python packages locally in your user account. Some instructions are here. Execute this command to create a new virtual environment (after setting up the psana environment):
Code Block |
---|
virtualenv <directoryName> |
...
Overview
Content Tools