diff --git a/README.md b/README.md index 1c47da054d92d779bff6fe7757e780df3f636108..8f36724635bbb8d1de7fd4f61756ec2f5ac8dccb 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,18 @@ export ENROOT_CONFIG_PATH=/home/xuagu37/.config/enroot source ~/.bashrc ``` +## Set path to user container storage + +By default, your enroot containers will be saved in your home directory. On Berzelius, you have 20 GB hard drive space for home. It is a better practice to put enroot containers in your proj directory. + +Add this line to your ```bashrc``` + +``` +export ENROOT_CACHE_PATH=/proj/nsc_testing/xuan/enroot/cache +export ENROOT_DATA_PATH=/proj/nsc_testing/xuan/enroot/data +``` + + ## Import container images You can import a container image either from Nvidia NGC or Pytorch/Tensorflow official Docker Hub repositories. @@ -87,14 +99,3 @@ enroot start --rw --env DISPLAY --mount /tmp/.X11-unix:/tmp/.X11-unix --mount /p ``` Please note that you need to use the flag ```-X``` when connecting to Berzelius. - -## Set path to user container storage - -By default, your enroot containers will be saved in your home directory. On Berzelius, you have 20 GB hard drive space for home. It is a better practice to put enroot containers in your proj directory. - -Add this line to your ```bashrc``` - -``` -export ENROOT_CACHE_PATH=/proj/nsc_testing/xuan/enroot/cache -export ENROOT_DATA_PATH=/proj/nsc_testing/xuan/enroot/data -```