compute:step2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| compute:step2 [2023/04/24 10:23] – bjorns | compute:step2 [2024/10/14 14:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| |''# | |''# | ||
| |''# | |''# | ||
| - | |''# | + | |''# |
| |''# | |''# | ||
| |python3 file.py | you put your run command after the directives| | |python3 file.py | you put your run command after the directives| | ||
| Line 20: | Line 20: | ||
| When you job need GPU add this line to you slurm cmd file\\ | When you job need GPU add this line to you slurm cmd file\\ | ||
| #SBATCH %%--%%gpus-per-node=1\\ | #SBATCH %%--%%gpus-per-node=1\\ | ||
| - | **Note** : We recommend all students in this 3-week-course run their GPU job for a short time, using " | + | **Note** : We recommend all students in this 3-week-course run their **GPU job** for a short time, using " |
| ==Other slurm directives== | ==Other slurm directives== | ||
| #SBATCH %%--%%mem-per-cpu=2G\\ | #SBATCH %%--%%mem-per-cpu=2G\\ | ||
| #SBATCH %%--%%cpus-per-task=2 : 2 cores per process/ | #SBATCH %%--%%cpus-per-task=2 : 2 cores per process/ | ||
| - | #SBATCH %%--%%ntasks-per-node=4 : 4 procees per node(worker\\ | + | #SBATCH %%--%%ntasks-per-node=4 : 4 procees per node/worker\\ |
| + | [[https:// | ||
| ===Tools and libraries installed=== | ===Tools and libraries installed=== | ||
| CUDA toolkit version 11,7\\ | CUDA toolkit version 11,7\\ | ||
compute/step2.1682331813.txt.gz · Last modified: 2024/10/14 14:24 (external edit)