File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -197,10 +197,13 @@ The following command shows how to run a shared memory program on 16 cores:
197
197
198
198
login$ salloc --ntasks=1 --cpus-per-task=16 --time=1:00:00 --mem-per-cpu=3g
199
199
200
- executed on a login node will return a shell on the login node. To then execute commands,
201
- it is still better to rebuild the environment just as for a batch script as some modules
202
- will use different settings when they load in a Slurm environment. So let's use this shell
203
- to start the demo program ``omp_hello `` on the allocated resources:
200
+ ``salloc `` executed on a login node will open a shell that runs on the login node but
201
+ that can be used to execute tasks on the allocated resources. Therefore,
202
+ it is recommended to re-create the environment as some modules
203
+ will use different settings when they load in a Slurm environment.
204
+
205
+ |Example | Let's use the previous ``salloc `` shell to start the demo
206
+ program ``omp_hello `` on the allocated resources:
204
207
205
208
.. code :: bash
206
209
You can’t perform that action at this time.
0 commit comments