Page History
...
- Change directories to the environment directories like cd ~/miniconda2/env/examplenv (the actual path may be slightly different but it will be under env in the conda package
- Create the following directories and files:
- mkdir -p etc/conda/activate.d
- mkdir -p etc/conda/deactivate.d
- touch etc/conda/activate.d/env_vars.sh
- touch etc/conda/deactivate.d/env_vars.sh
- Add the following to this files
The complicated piece is that SIT_DATA must include the sub-directory 'data' to your Conda environment, as well as where the experiment-db.dat file is. To etc/conda/activate.d/env_vars.sh:
Code Block language bash #!/bin/sh # Make sure to replace examplenv with the actual environment name export SIT_DATA=$HOME/miniconda2/envs/examplenv/data:$HOME/psdm/data export SIT_PSDM_DATA=$HOME/psdm
To /etc/conda/deactivate.d/env_vars.sh:
Code Block language bash #!/bin/sh unset SIT_DATA unset SIT_PSDM_DATA
...
Overview
Content Tools