test-suite: add -npmin option to IMB mpi3 tests; use specific mtl for RMA with
openmpi4
@@ -29,7 +29,7 @@ fi
@test "[Libs/IMB] run IMB-NBC on $NODES nodes under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
EXE=$IMB_DIR/bin/IMB-NBC
- ARGS="Ibcast"
+ ARGS="-npmin 100 -msglog 1:8 Ibcast"
if [ ! -x $EXE ];then
flunk "missing $EXE"
@@ -47,6 +47,11 @@ fi
flunk "missing $EXE"
fi
+ # openmpi4 needs to use specific management layer to run RMA tests
+ if [[ "$LMOD_FAMILY_MPI" == "openmpi4" ]];then
+ export OMPI_MCA_pml=ob1
+ fi
+
run_mpi_binary -t $CMD_TIMEOUT $EXE "$ARGS" $NODES $TASKS
assert_success
}
