#!/bin/bash -l
#SBATCH -t 00:10:00
#SBATCH -p debug
#SBATCH -N 1
#SBATCH -n 32
#SBATCH -c 1

# Edit these lines as needed
BGW_BIN="$HOME/BerkeleyGW/bin"
EPSILON="$BGW_BIN/epsilon.real.x"
SIGMA="$BGW_BIN/sigma.real.x"
export OMP_NUM_THREADS=1
# put argument for number of procs here too if needed, e.g. -n 8
MPIRUN="srun -n 32 -c 1"

#
cd ./07-epsilon
$MPIRUN $EPSILON &> ./epsilon.out
cd ..
#
cd ./07-epsilon_fine
$MPIRUN $EPSILON &> ./epsilon.out
cd ..
#
cd ./08-sigma
$MPIRUN $SIGMA &> ./sigma.out
cd ..
#
