Skip to content

Commit 70a0692

Browse files
committed
Update Jupyter Notebooks
1 parent 8c1271c commit 70a0692

File tree

3 files changed

+30
-30
lines changed
  • 10-H_CUDA_Graphs_and_Device-initiated_Communication_with_NVSHMEM

3 files changed

+30
-30
lines changed

10-H_CUDA_Graphs_and_Device-initiated_Communication_with_NVSHMEM/.master/Device-initiated_Communication_with_NVSHMEM/Instructions.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
"\n",
5353
"#### Note\n",
5454
"\n",
55-
"The Slurm installation on JUWELS-Booster sets `CUDA_VISIBLE_DEVICES`\n",
56-
"automatically so that each spawned process only sees the GPU it should\n",
57-
"use (see [GPU\n",
58-
"Devices](https://apps.fz-juelich.de/jsc/hps/juwels/booster-overview.html#gpu-devices)\n",
59-
"in the JUWELS Booster Overview documentation). This is not supported for\n",
60-
"NVSHMEM. The automatic setting of `CUDA_VISIBLE_DEVICES` can be disabled\n",
61-
"by setting `CUDA_VISIBLE_DEVICES=0,1,2,3` in the shell that executes\n",
62-
"srun. With `CUDA_VISIBLE_DEVICES` set all spawned processes can see all\n",
63-
"GPUs listed. This is automatically done for the `sanitize`, `run` and\n",
55+
"The Slurm installation on JEDI sets `CUDA_VISIBLE_DEVICES` automatically\n",
56+
"so that each spawned process only sees the GPU it should use (see\n",
57+
"[Hardware\n",
58+
"Configuration](https://apps.fz-juelich.de/jsc/hps/jedi/configuration.html#hardware-configuration)\n",
59+
"in the JEDI user documentation). This is not supported for NVSHMEM. The\n",
60+
"automatic setting of `CUDA_VISIBLE_DEVICES` can be disabled by setting\n",
61+
"`CUDA_VISIBLE_DEVICES=0,1,2,3` in the shell that executes srun. With\n",
62+
"`CUDA_VISIBLE_DEVICES` set all spawned processes can see all GPUs\n",
63+
"listed. This is automatically done for the `sanitize`, `run` and\n",
6464
"`profile` make targets.\n",
6565
"\n",
6666
"### Advanced Task: Use `nvshmemx_float_put_nbi_block`\n",
@@ -85,7 +85,7 @@
8585
" repository](https://github.com/NVIDIA/multi-gpu-programming-models)\n",
8686
" implements the same strategy."
8787
],
88-
"id": "ff43766e-b9d0-47c1-bf8c-242e07bb5239"
88+
"id": "17eb86cd-3a72-4214-82c1-84818a0d1eca"
8989
}
9090
],
9191
"nbformat": 4,

10-H_CUDA_Graphs_and_Device-initiated_Communication_with_NVSHMEM/solutions/Device-initiated_Communication_with_NVSHMEM/Instructions.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
"\n",
5353
"#### Note\n",
5454
"\n",
55-
"The Slurm installation on JUWELS-Booster sets `CUDA_VISIBLE_DEVICES`\n",
56-
"automatically so that each spawned process only sees the GPU it should\n",
57-
"use (see [GPU\n",
58-
"Devices](https://apps.fz-juelich.de/jsc/hps/juwels/booster-overview.html#gpu-devices)\n",
59-
"in the JUWELS Booster Overview documentation). This is not supported for\n",
60-
"NVSHMEM. The automatic setting of `CUDA_VISIBLE_DEVICES` can be disabled\n",
61-
"by setting `CUDA_VISIBLE_DEVICES=0,1,2,3` in the shell that executes\n",
62-
"srun. With `CUDA_VISIBLE_DEVICES` set all spawned processes can see all\n",
63-
"GPUs listed. This is automatically done for the `sanitize`, `run` and\n",
55+
"The Slurm installation on JEDI sets `CUDA_VISIBLE_DEVICES` automatically\n",
56+
"so that each spawned process only sees the GPU it should use (see\n",
57+
"[Hardware\n",
58+
"Configuration](https://apps.fz-juelich.de/jsc/hps/jedi/configuration.html#hardware-configuration)\n",
59+
"in the JEDI user documentation). This is not supported for NVSHMEM. The\n",
60+
"automatic setting of `CUDA_VISIBLE_DEVICES` can be disabled by setting\n",
61+
"`CUDA_VISIBLE_DEVICES=0,1,2,3` in the shell that executes srun. With\n",
62+
"`CUDA_VISIBLE_DEVICES` set all spawned processes can see all GPUs\n",
63+
"listed. This is automatically done for the `sanitize`, `run` and\n",
6464
"`profile` make targets.\n",
6565
"\n",
6666
"### Advanced Task: Use `nvshmemx_float_put_nbi_block`\n",
@@ -85,7 +85,7 @@
8585
" repository](https://github.com/NVIDIA/multi-gpu-programming-models)\n",
8686
" implements the same strategy."
8787
],
88-
"id": "ff43766e-b9d0-47c1-bf8c-242e07bb5239"
88+
"id": "17eb86cd-3a72-4214-82c1-84818a0d1eca"
8989
}
9090
],
9191
"nbformat": 4,

10-H_CUDA_Graphs_and_Device-initiated_Communication_with_NVSHMEM/tasks/Device-initiated_Communication_with_NVSHMEM/Instructions.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
"\n",
5353
"#### Note\n",
5454
"\n",
55-
"The Slurm installation on JUWELS-Booster sets `CUDA_VISIBLE_DEVICES`\n",
56-
"automatically so that each spawned process only sees the GPU it should\n",
57-
"use (see [GPU\n",
58-
"Devices](https://apps.fz-juelich.de/jsc/hps/juwels/booster-overview.html#gpu-devices)\n",
59-
"in the JUWELS Booster Overview documentation). This is not supported for\n",
60-
"NVSHMEM. The automatic setting of `CUDA_VISIBLE_DEVICES` can be disabled\n",
61-
"by setting `CUDA_VISIBLE_DEVICES=0,1,2,3` in the shell that executes\n",
62-
"srun. With `CUDA_VISIBLE_DEVICES` set all spawned processes can see all\n",
63-
"GPUs listed. This is automatically done for the `sanitize`, `run` and\n",
55+
"The Slurm installation on JEDI sets `CUDA_VISIBLE_DEVICES` automatically\n",
56+
"so that each spawned process only sees the GPU it should use (see\n",
57+
"[Hardware\n",
58+
"Configuration](https://apps.fz-juelich.de/jsc/hps/jedi/configuration.html#hardware-configuration)\n",
59+
"in the JEDI user documentation). This is not supported for NVSHMEM. The\n",
60+
"automatic setting of `CUDA_VISIBLE_DEVICES` can be disabled by setting\n",
61+
"`CUDA_VISIBLE_DEVICES=0,1,2,3` in the shell that executes srun. With\n",
62+
"`CUDA_VISIBLE_DEVICES` set all spawned processes can see all GPUs\n",
63+
"listed. This is automatically done for the `sanitize`, `run` and\n",
6464
"`profile` make targets.\n",
6565
"\n",
6666
"### Advanced Task: Use `nvshmemx_float_put_nbi_block`\n",
@@ -85,7 +85,7 @@
8585
" repository](https://github.com/NVIDIA/multi-gpu-programming-models)\n",
8686
" implements the same strategy."
8787
],
88-
"id": "ff43766e-b9d0-47c1-bf8c-242e07bb5239"
88+
"id": "17eb86cd-3a72-4214-82c1-84818a0d1eca"
8989
}
9090
],
9191
"nbformat": 4,

0 commit comments

Comments
 (0)