Skip to content

Commit 5351a36

Browse files
authored
Add title to mps-wrapper.sh bash code block (#88)
1 parent 2b71c27 commit 5351a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/running/slurm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ In these cases SLURM jobs must be configured to assign multiple ranks to a singl
7575
This is best done using [NVIDIA's Multi-Process Service (MPS)].
7676
To use MPS, launch your application using the following wrapper script, which will start MPS on one rank per node and assign GPUs to ranks according to the CPU mask of a rank, ensuring the closest GPU is used:
7777

78-
```bash
78+
```bash title="mps-wrapper.sh"
7979
#!/bin/bash
8080
# Example mps-wrapper.sh usage:
8181
# > srun [srun args] mps-wrapper.sh [cmd] [cmd args]

0 commit comments

Comments
 (0)