Skip to content

Commit

Permalink
Update folder locations (resolves #11)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonhardhennig committed Jul 2, 2024
1 parent 9ed754e commit 3604d65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# choose an Enroot Image
# IMPORTANT: For the scripts provided here to function correctly, there needs to be conda installed in that image!
CONTAINER_IMAGE=/netscratch/enroot/nvcr.io_nvidia_pytorch_23.07-py3.sqsh
CONTAINER_IMAGE=/enroot/nvcr.io_nvidia_pytorch_23.07-py3.sqsh

# chooses a Slurm partition
PARTITION=batch
Expand Down Expand Up @@ -38,7 +38,7 @@ HOST_CONDA_ENVS_DIR=/netscratch/$USER/miniconda3
# change this if you use another Enroot image with a different conda location
CONTAINER_CONDA_ENVS_DIR=/opt/conda
# assemble everything:
CONTAINER_MOUNTS=/netscratch:/netscratch,/ds:/ds:ro,"$HOST_WORKDIR":"$CONTAINER_WORKDIR","$HOST_CONDA_ENVS_DIR":"$CONTAINER_CONDA_ENVS_DIR","$HOST_CACHEDIR":"/home/$USER/.cache","$HOST_CACHEDIR":/root/.cache,"$HOST_CACHEDIR":/home/root/.cache
CONTAINER_MOUNTS=/netscratch:/netscratch,/fscratch/$USER:/fscratch/$USER,/ds:/ds:ro,"$HOST_WORKDIR":"$CONTAINER_WORKDIR","$HOST_CONDA_ENVS_DIR":"$CONTAINER_CONDA_ENVS_DIR","$HOST_CACHEDIR":"/home/$USER/.cache","$HOST_CACHEDIR":/root/.cache,"$HOST_CACHEDIR":/home/root/.cache

# Define which conda environment should be activated. Set to $CONDA_DEFAULT_ENV, to use the one that is activated at
# the host. If not defined, no conda environment will be activated and the base python interpreter will be used.
Expand Down

0 comments on commit 3604d65

Please sign in to comment.