File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ jobs:
118118 --with-pthread \
119119 --disable-fortran \
120120 --with-mpi=${GITHUB_WORKSPACE}/OPENMPI \
121- TESTMPIRUN="${GITHUB_WORKSPACE}/OPENMPI/bin/mpiexec --oversubscribe -n NP" \
122121 TESTOUTDIR=${GITHUB_WORKSPACE}/pnetcdf_output
123122 make -j 8 tests
124123 - name : Print config.log
Original file line number Diff line number Diff line change @@ -124,7 +124,6 @@ jobs:
124124 --enable-thread-safe \
125125 --with-pthread \
126126 --with-mpi=${GITHUB_WORKSPACE}/OPENMPI \
127- TESTMPIRUN="${GITHUB_WORKSPACE}/OPENMPI/bin/mpiexec --oversubscribe -n NP" \
128127 TESTOUTDIR=${GITHUB_WORKSPACE}/pnetcdf_output
129128 make -j 8 tests
130129 - name : Print config.log
Original file line number Diff line number Diff line change @@ -2538,6 +2538,9 @@ if test "x${TESTMPIRUN}" = x ; then
25382538 dnl set default to "mpiexec -n NP"
25392539 UD_MPI_PATH_PROGS([ TESTMPIRUN] , [ mpiexec mpirun srun] )
25402540 if test "x${TESTMPIRUN}" != x ; then
2541+ if test "x${ax_cv_mpi_compiler_vendor}" = xOpenMPI ; then
2542+ TESTMPIRUN="$TESTMPIRUN --oversubscribe"
2543+ fi
25412544 TESTMPIRUN="$TESTMPIRUN -n NP"
25422545 fi
25432546fi
You can’t perform that action at this time.
0 commit comments