Wednesday, August 8, 2018

submitting parallel jobs in genotoul / genologin with slurm

In another post I found out how to submit parallel jobs in Genotoul. Genotoul has a new cluster (genologin) and a new job scheduler: slurm, instead of "genotoul" with sge.

Here is how to submit a parallel job:

alegarra@genologin2 ~/work/mice_tpb $ cat run.sh
#!/bin/bash
#SBATCH --mem=1G
#SBATCH --cpus-per-task=10 
#SBATCH --time=10:20:00 
module load mpi/openmpi-2.1.2-intel2018.0.128
module load compiler/intel-2018.0.128
export OMP_NUM_THREADS=10
preGSf90 mice_G.par

Note the "module load" that before was not needed. This is because libraries are now mostly dynamic.

Edit look at: https://hpcrcf.atlassian.net/wiki/spaces/TCP/pages/7287288/How-to+Submit+an+OpenMP+Job

No comments:

Post a Comment