# single process
echo "=== test serial ==="
python3 -m pytest ./test/

# MPI test
N_MPI=`nproc`
export OMPI_MCA_rmaps_base_oversubscribe=1
export OMPI_MCA_btl_base_warn_component_unused=0
echo "=== test MPI ==="
mpirun -n ${N_MPI} python3 -m pytest ./test/
