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/running/slurm.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,8 +145,6 @@ The build generates the following executables:
145
145
* all threads on each rank have affinity with the same 72 cores;
146
146
* each rank gets 72 cores, e.g. rank 1 gets cores `72:143` on node `nid006363`.
147
147
148
-
149
-
150
148
??? example "Testing GPU affinity"
151
149
Use `affinity.cuda` or `affinity.rocm` to test on GPU-enabled systems.
152
150
@@ -197,6 +195,22 @@ The build generates the following executables:
197
195
198
196
2. Test GPU affinity: note how the `--gpus-per-task=1` parameter assings a unique GPU to each rank.
199
197
198
+
!!! info "Quick affinity checks"
199
+
200
+
The Slurm flag [`cpu-bind=verbose`](https://slurm.schedmd.com/srun.html#OPT_cpu-bind) prints information about MPI ranks and their thread affinity.
201
+
202
+
The mask it prints is not very readable, but it can be used with the `true` command to quickly test Slurm parameters without building the Affinity tool.
0 commit comments