kamet Job Scheduler (Slurm)

Partition [Queue] Names

  • kshort [ 12hrs ], [ Minimum Allowd Cores: 16 ], [ Max Allowed Cores:192 ]
  • kmedium [ 2days ] [ Minimum Allowd Cores: 16 ], [ Max Allowed Cores:768 ]
  • klong [ 7days ], [ Minimum Allowd Cores: 16 ], [ Max Allowed Cores:192 ]

Slurm Job Script File

 #!/bin/bash

#SBATCH --nodes=2
#SBATCH --ntasks-per-node=64
#SBATCH -J <testrun>
#SBATCH -p kshort
#SBATCH --time=24:00:00
#SBATCH -o slurm.%N.%j.out # STDOUT
#SBATCH -e slurm.%N.%j.err # STDERR
#SBATCH --mail-user=<username>@imsc.res.in
#SBATCH --mail-type=ALL
cd $SLURM_SUBMIT_DIR
echo $SLURM_JOB_NODELIST > hostfile_$SLURM_JOBID
##OpenMP Case
## Make sure the ppn value and OMP_NUM_THREADS values are same or
## leave with SLURM_NTASKS env variable
#export OMP_NUM_THREADS=$SLURM_NTASKS
#<your executable> >& out_$SLURM_JOBID
#MPI Case
### Only One Executable allowed
mpirun -np <npvalue> <your/executable/with/path> >& out_$SLURM_JOBID
Zircon - This is a contributing Drupal Theme
Design by WeebPal.