execute with MPI under RM
@@ -8,29 +8,32 @@ if [ -s ./common/TEST_ENV ];then
source ./common/TEST_ENV
fi
+NODES=2
+TASKS=4
+
check_rms
rm=$RESOURCE_MANAGER
-@test "[libs/scotch] dgraph_redist binary runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
+@test "[libs/PTScotch] dgraph_redist binary runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
if [ ! -s dgraph_redist ];then
flunk "grapch_map binary does not exit"
fi
- run_serial_binary ./dgraph_redist "bump.grf"
+ run_mpi_binary ./dgraph_redist "bump.grf" $NODES $TASKS
assert_success
}
-@test "[libs/scotch] strat_par binary runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
+@test "[libs/PTScotch] strat_par binary runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
if [ ! -s strat_par ];then
flunk "strat_par does not exit"
fi
- run_serial_binary ./strat_par ""
+ run_mpi_binary ./strat_par "" $NODES $TASKS
assert_success
}
-@test "[libs/scotch] gout binary runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
- if [ ! -s $SCOTCH_BIN/gout ];then
+@test "[libs/PTScotch] gout binary runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
+ if [ ! -s $PTSCOTCH_BIN/gout ];then
flunk "gout does not exit"
fi
