#!/bin/bash -l

#SBATCH --nodes=24 # Number of nodes
#SBATCH --tasks-per-node=16
#SBATCH -J Gadget
#SBATCH --exclusive # No sharing of node
#SBATCH -t 72:00:00 # Time limit
#SBATCH -p cosma # Use partition (queue) cosma
#SBATCH -A durham # group durham for accounting purposes
#SBATCH -o std_%j.out # Output file
#SBATCH -e stderr_%j.err # Error file
#SBATCH --mail-type=ALL # Notification when job ends (done or failed)
#SBATCH --mail-user=willem.h.elbers@dur.ac.uk # Where to send emails

module purge
module unload python/2.7.15
module load intel_comp/2018
module load intel_mpi/2018
module load fftw/3.3.7
module load parallel_hdf5/1.10.3
module load gsl/2.4
module load parmetis/4.0.3
module load python/3.6.5
module load cmake/3.11.4
export LD_LIBRARY_PATH="/cosma/local/parallel-hdf5/intel_2018_intel_mpi_2018/1.10.3/lib:$LD_LIBRARY_PATH"

./run.sh
