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

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