Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This script requests 16 cores on nodes with InfiniBand:

Panel
borderColorgray
bgColorwhite
titlempi.submit

#!/bin/sh
#SBATCH --ntasks=16
#SBATCH --mem-per-cpu=1024
#SBATCH --time=03:15:00
#SBATCH --error=/work/[groupname]/[username]/job.%J.err
#SBATCH --output=/work/[groupname]/[username]/job.%J.out

 

XSLT
style^cb_mpi.xsl
source^tusker_modules.xml
 

mpirun /home/[groupname]/[username]/mpiprogram

...

Some users may prefer to specify more details. This will allocate 32 tasks, 16 on each of two nodes:

Panel
borderColorgray
bgColorwhite
titlempi.submit

#!/bin/sh
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=16
#SBATCH --mem-per-cpu=1024
#SBATCH --time=03:15:00
#SBATCH --error=/work/[groupname]/[username]/job.%J.err
#SBATCH --output=/work/[groupname]/[username]/job.%J.out

 

XSLT
style^cb_mpi.xsl
source^tusker_modules.xml
 

mpirun /home/[groupname]/[username]/mpiprogram