#!/bin/bash

# Export paths here if necessary or recommended.
export LD_LIBRARY_PATH="/home/andrew/build/gcc-8.3.1_openmpi_4.0.2/lib":$LD_LIBRARY_PATH

export OMP_NUM_THREADS=1

cd /home/andrew/run/cs-6.0.2/mvg_3h_18-5deg/CASE1/RESU/20200409-1041

# Run solver.
mpiexec -n 8 ./cs_solver --mpi $@
export CS_RET=$?

exit $CS_RET
