Skip to content
Snippets Groups Projects
Commit 17525671 authored by Xuan Gu's avatar Xuan Gu
Browse files

Update README.md

parent b342a053
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,18 @@ export ENROOT_CONFIG_PATH=/home/xuagu37/.config/enroot ...@@ -36,6 +36,18 @@ export ENROOT_CONFIG_PATH=/home/xuagu37/.config/enroot
source ~/.bashrc 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 ## Import container images
You can import a container image either from Nvidia NGC or Pytorch/Tensorflow official Docker Hub repositories. 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 ...@@ -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. 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
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment