File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
src/psij/launchers/scripts Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1- psutil >= 5.9 , <= 6.1.1
1+ psutil >= 5.9 , <= 7.0.0
22pystache >= 0.6.0
33typeguard >= 3.0.1
44packaging >= 24.0 , <= 24.2
Original file line number Diff line number Diff line change @@ -6,15 +6,21 @@ _PSI_J_PROCESS_COUNT="$1"
66shift
77
88IS_OPENMPI=0
9- if mpirun -version | grep " Open MPI" > /dev/null 2>&1 ; then
9+ IS_OPENMPI_5=0
10+ if mpirun -version | grep " (Open MPI) 5" > /dev/null 2>&1 ; then
11+ IS_OPENMPI_5=1
12+ elif mpirun -version | grep " Open MPI" > /dev/null 2>&1 ; then
1013 IS_OPENMPI=1
1114fi
1215
1316pre_launch
1417
1518set +e
16- if [ " $IS_OPENMPI " == " 1" ]; then
19+ if [ " $IS_OPENMPI_5 " == " 1" ]; then
20+ # there is no -q parameter in OMPI 5
1721 mpirun --oversubscribe -n $_PSI_J_PROCESS_COUNT " $@ " 1> $_PSI_J_STDOUT 2> $_PSI_J_STDERR < $_PSI_J_STDIN
22+ elif [ " $IS_OPENMPI " == " 1" ]; then
23+ mpirun --oversubscribe -q -n $_PSI_J_PROCESS_COUNT " $@ " 1> $_PSI_J_STDOUT 2> $_PSI_J_STDERR < $_PSI_J_STDIN
1824else
1925 mpirun -n $_PSI_J_PROCESS_COUNT " $@ " 1> $_PSI_J_STDOUT 2> $_PSI_J_STDERR < $_PSI_J_STDIN
2026fi
Original file line number Diff line number Diff line change @@ -167,6 +167,8 @@ def test_list(execparams: ExecutorTestParams) -> None:
167167 assert job .native_id is not None
168168 ids = ex .list ()
169169 assert job .native_id in ids
170+ status = job .wait (timeout = _get_timeout (execparams ))
171+ assert_completed (job , status )
170172
171173
172174def _get_batch_executors () -> List [str ]:
You can’t perform that action at this time.
0 commit comments