#!/bin/bash
#SBATCH --job-name=P10
#SBATCH --partition=astro_devel
#SBATCH --mail-user=nauman@nbi.ku.dk
#SBATCH --mail-type=ALL
#SBATCH --time=01:59:00
#SBATCH --no-requeue
#SBATCH --no-kill
#SBATCH --nodes=1                        # Number of nodes [must be power of 2 within queue limitations]
#SBATCH --ntasks-per-node=8              # Number of tasks per node (There are 16 cores per node)
#SBATCH --cpus-per-task=1                # Number of cores per task (If not 1, then you should use openmp or a compiler that can auto-parallelize)
#SBATCH --mem 32G
#SBATCH --mem-per-cpu 4G

#export OMP_NUM_THREADS=5

#ulimit -s unlimited

source /software/astro/startup.sh

# number of threads and OpenMP affinity
#export KMP_AFFINITY="verbose,granularity=thread,scatter,1,0"

srun python3 -u mpi_shelltran_loop_sno.py
