Skip to content

Commit 4d643f4

Browse files
committed
added bit about diff os on nodes and made it warning to highlight
1 parent 9335f5f commit 4d643f4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/hpc/07_containers/03_singularity_with_conda.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ exit
162162

163163
You may now install packages into the environment with either the `pip install` or `conda install` commands.
164164

165-
The login nodes restrict memory to 2GB per user, which may cause some large packages to crash. For this reason, please start an interactive job with adequate compute and memory resources to install packages:
165+
:::warning
166+
The login nodes restrict memory to 2GB per user, which may cause some large packages to crash. In addition, on Torch, the login nodes and compute nodes run different operating system versions. This means that code built on the login nodes probably won't run on the compute nodes. For these reasons, please start an interactive job with adequate compute and memory resources to install packages:
166167

167168
```sh
168169
srun --cpus-per-task=2 --mem=10GB --time=04:00:00 --pty /bin/bash
@@ -186,6 +187,7 @@ singularity exec --fakeroot --overlay overlay-15GB-500K.ext3:rw /share/apps/imag
186187
# activate the environment
187188
source /ext3/env.sh
188189
```
190+
:::
189191

190192
We will install PyTorch as an example:
191193
```sh

0 commit comments

Comments
 (0)