... | ... | @@ -927,8 +927,10 @@ Normally you don't have to specify the type of GPU. But if there are different k |
|
|
| res-hpc-gpu[01-02] | gpu | Gres=gpu:TitanXp:3 |
|
|
|
|
|
|
#### Simple GPU example
|
|
|
```
|
|
|
|
|
|
cat test-gpu.slurm
|
|
|
|
|
|
```
|
|
|
#!/bin/bash
|
|
|
#
|
|
|
#SBATCH --partition=gpu
|
... | ... | @@ -947,8 +949,10 @@ sleep 10 |
|
|
```
|
|
|
|
|
|
Output:
|
|
|
```
|
|
|
|
|
|
cat slurm-206044.out
|
|
|
|
|
|
```
|
|
|
res-hpc-gpu01.researchlumc.nl
|
|
|
Cuda devices: 0
|
|
|
Tue Apr 14 14:24:59 2020
|
... | ... | |