From 17525671f784492b118ef7405337c0d0c04e3942 Mon Sep 17 00:00:00 2001 From: Xuan Gu <xuan.gu@liu.se> Date: Tue, 6 Dec 2022 08:41:52 +0000 Subject: [PATCH] Update README.md --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1c47da0..8f36724 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 -``` -- GitLab