Skip to content
Permalink
Browse files
add gpu slurm script
  • Loading branch information
marekp committed Mar 23, 2021
1 parent 67fc206 commit 90b4ca0f6451c46c5fe5d405f246a0849b6c9f9d
Showing 1 changed file with 20 additions and 0 deletions.
@@ -0,0 +1,20 @@
#!/bin/bash
## CUDA slurm submission script

# 1 hour job:
#SBATCH --time=01:00:00

# 1 node
#SBATCH --nodes=1

## if you want whole node
#SBATCH --exclusive
##Select GPU type you want: (K80 or K20)
# asking for 1 GPU
#SBATCH --gres=gpu:K20:1

module load cuda/last

#launching executable, e.g.

python gputest.py

0 comments on commit 90b4ca0

Please sign in to comment.