r-spatialecology / gwdg_hpc_guide

Guide How to use the GWDG HPC
https://r-spatialecology.github.io/gwdg_hpc_guide/
2 stars 0 forks source link

SLURM #1

Closed mhesselbarth closed 5 years ago

mhesselbarth commented 5 years ago

Update everything to SLURM

mhesselbarth commented 5 years ago

Here is my new template

#!/bin/sh
#SBATCH --job-name={{ job_name }} # job name
#SBATCH --partition={{ queue | medium }} # name of queue 
#SBATCH --qos={{ service | normal }} # which special QOS (short/long)
#SBATCH --time={{ walltime | 12:00:00 }} # walltime
#SBATCH --array=1-{{ n_jobs }} # number of processes
#SBATCH --nodes={{ nodes | 1 }} # if 1 put load on one node
#SBATCH --output={{ log_file | /dev/null }}
#SBATCH --error={{ log_file | /dev/null }}

module load gcc
module load zeromq 
module load R_GEO
mhesselbarth commented 5 years ago

Updated on homepage