#!/usr/bin/env bash
#
EPSILON="$HOME/BerkeleyGW/bin/epsilon.real.x"
SIGMA="$HOME/BerkeleyGW/bin/sigma.real.x"
EQP="$HOME/BerkeleyGW/bin/eqp.py"

# put argument for number of procs here too if needed, e.g. -n 8
MPIRUN="mpirun"
#
cd ./5-gw
$MPIRUN $EPSILON &> ./OUT.eps
$MPIRUN $SIGMA &> ./OUT.sig
$EQP eqp1 ./sigma_hp.log ./eqp_outer.dat
$MPIRUN $SIGMA &> ./OUT.sig
cd ..
#
cd ./6-gw-sapo
$MPIRUN $EPSILON &> ./OUT.eps
$MPIRUN $SIGMA &> ./OUT.sig
$EQP eqp1 ./sigma_hp.log ./eqp_outer.dat
$MPIRUN $SIGMA &> ./OUT.sig
cd ..
#
