Skip to content

Commit 372362b

Browse files
committed
Split EDF and executon console result
1 parent b3fd222 commit 372362b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/software/container-engine/resource-hook.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ By default, the server started by the SSH hook listens to port 15263, but this s
237237
com.hooks.ssh.enabled = "true"
238238
com.hooks.ssh.authorize_ssh_key = "<public-key>"
239239
```
240-
```console
240+
```console title="Command-line"
241241
$ srun --environment=./ubuntu-ssh.toml --pty sleep 30
242242
```
243243

@@ -273,8 +273,7 @@ The hook can be activated by setting the `com.hooks.nvidia_cuda_mps.enabled` to
273273
[annotations]
274274
com.hooks.nvidia_cuda_mps.enabled = "true"
275275
```
276-
277-
```console
276+
```console title="Command-line"
278277
$ srun -t2 -N1 -n8 --environment=./vectoradd-cuda-mps.toml /cuda-samples/vectorAdd | grep "Test PASSED" | wc -l
279278
8
280279
```
@@ -286,7 +285,7 @@ The hook can be activated by setting the `com.hooks.nvidia_cuda_mps.enabled` to
286285

287286
1. This EDF uses the CUDA vector addition sample from NVIDIA's NGC catalog.
288287

289-
```console
288+
```console title="Command-line"
290289
$ nvidia-smi -L
291290
GPU 0: GH200 120GB (UUID: GPU-...)
292291
GPU 1: GH200 120GB (UUID: GPU-...)

0 commit comments

Comments
 (0)