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