#!/bin/bash
#SBATCH -N 3
#SBATCH --ntasks-per-node=48
#SBATCH --time=01:00:00
#SBATCH --job-name=ETcompile
#SBATCH --error=compile.err
#SBATCH --output=compile.out
#SBATCH --partition=debug

module unload ORCA/5.0.4
module unload R/4.2.1
module unload cmake/3.20.5
module unload cuda/11.6
module unload ORCA/5.0.4
module unload gcc/11.1.0
module unload llvm5/12.0.0
module unload openmpi/4.1.3
module unload paraview/5.10.1
module load compiler/intel/2020_4
module load gnu8/8.3.0
module load gsl/2.6
module load python/python3.8
module load hdf5/1.10.5
module load papi/5.7.0

module list

cd /home/shamims.iiserb/ET_debug/Cactus

pwd

./simfactory/bin/sim whoami
./simfactory/bin/sim setup-silent
./simfactory/bin/sim build -j2 --thornlist thornlists/einsteintoolkit.th --optionlist paramganga.cfg --runscript paramganga.run --submitscript paramganga.sub
