Blame view

egs/mgb5/s5/conf/slurm.conf 511 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
  command sbatch --export=PATH --ntasks-per-node=1 --partition=cpu 
  option mem=* --mem-per-cpu=$0
  option mem=0          # Do not add anything to qsub_opts
  option num_threads=* --cpus-per-task=$0 --ntasks-per-node=1
  option num_threads=1 --cpus-per-task=1  --ntasks-per-node=1 # Do not add anything to qsub_opts
  option max_jobs_run=*     # Do nothing
  option gpu=* -N1 -n1 -p gpu --mem=4GB --gres=gpu:$0 --cpus-per-task=6 --time=72:0:0  # in reality, we probably should have --cpus-per-task=$((6*$0))
  option gpu=0