You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hpc/07_containers/03_singularity_with_conda.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,30 +39,30 @@ Create a directory for the environment:
39
39
```
40
40
Copy an appropriate gzipped overlay images from the overlay directory. You can browse available images to see available options:
41
41
```bash
42
-
[NetID@log-1 pytorch-example]$ ls /scratch/work/public/overlay-fs-ext3
42
+
[NetID@log-1 pytorch-example]$ ls /share/apps/overlay-fs-ext3
43
43
```
44
44
In this example we use `overlay-15GB-500K.ext3.gz` as it has enough available storage for most conda environments. It has 15GB free space inside and is able to hold 500K files
The above starts a bash shell inside the referenced Singularity Container overlaid with the 15GB 500K you set up earlier. This creates the functional illusion of having a writable filesystem inside the typically read-only Singularity container.
@@ -143,7 +143,7 @@ The login nodes restrict memory to 2GB per user, which may cause some large pack
143
143
After it is running, you’ll be redirected to a compute node. From there, run singularity to setup on conda environment, same as you were doing on login node:
@@ -249,7 +249,7 @@ Check your SLURM output for results, an example is shown below:
249
249
### Optional: Convert ext3 to a compressed, read-only squashfs filesystem
250
250
Singularity images can be compressed into read-only squashfs filesystems to conserve space in your environment. Use the following steps to convert your ext3 Singularity image into a smaller squashfs filesystem.
@@ -303,7 +303,7 @@ Create a directory for your Julia work, such as `/scratch/<NetID>/julia`, and th
303
303
304
304
Copy an overlay image, such as the 2GB 100K overlay, which generally has enough storage for Julia packages. Once copied, unzip to the same folder, rename to julia-pkgs.ext3:
Download Julia installation package from [https://julialang-s3.julialang.org/bin/linux/x64/1.5/julia-1.5.3-linux-x86_64.tar.gz](https://julialang-s3.julialang.org/bin/linux/x64/1.5/julia-1.5.3-linux-x86_64.tar.gz)
0 commit comments