File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -918,6 +918,7 @@ AC_SUBST(HDF5_PATH, ["$with_hdf5"])
918918AC_SUBST ( PNETCDF_PATH , [ "$with_pnetcdf"] )
919919AC_SUBST ( DAOS_PATH , [ "$with_daos"] )
920920AC_SUBST ( LDMS_PATH , [ "$LDMS_HOME"] )
921+ AC_SUBST ( HAVE_OPEN_MPI , [ "$is_ompi"] )
921922
922923AM_CONDITIONAL(ENABLE_MMAP_LOGS, [ test "x$enable_mmap_logs" = xyes] )
923924AM_CONDITIONAL(ENABLE_LDPRELOAD, [ test "x$enable_ld_preload" = xyes] )
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ AM_TESTS_ENVIRONMENT += export TST_DARSHAN_LOG_PATH="$(__DARSHAN_LOG_PATH)";
1717AM_TESTS_ENVIRONMENT += export DARSHAN_INSTALL_DIR="$(prefix ) ";
1818AM_TESTS_ENVIRONMENT += export USERNAME_ENV="$(USERNAME_ENV ) ";
1919AM_TESTS_ENVIRONMENT += export HAVE_MPI_LARGE_COUNT="$(HAVE_MPI_LARGE_COUNT ) ";
20+ AM_TESTS_ENVIRONMENT += export HAVE_OPEN_MPI="$(HAVE_OPEN_MPI ) ";
2021AM_TESTS_ENVIRONMENT += export check_PROGRAMS="$(check_PROGRAMS ) ";
2122
2223TESTS = tst_runs.sh
Original file line number Diff line number Diff line change @@ -34,12 +34,15 @@ echo "DARSHAN_CONFIG=$DARSHAN_CONFIG"
3434
3535$DARSHAN_CONFIG --all
3636
37- # run NP number of MPI processes
38- # Note when using OpenMPI, setting NP > 2 will fail.
37+ # run NP number of MPI processes, default 2
3938if test " x$NP " = x ; then
4039 NP=2
4140fi
4241
42+ if test " x$HAVE_OPEN_MPI " = x1 ; then
43+ TESTMPIRUN=" $TESTMPIRUN --oversubscribe"
44+ fi
45+
4346TEST_FILE=./testfile.dat
4447
4548# tst_mpi_io.c takes the following command-line options.
You can’t perform that action at this time.
0 commit comments