Skip to content

Commit

Permalink
fixes bug in test_manager introduced with mpi args
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoon committed Jun 28, 2024
1 parent 5e91879 commit 698825e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/testing/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ def _run_test(self, test_name, dry_run, status, testlog):
if self._np is not None:
if self._mpiexec:
command.append(str(self._mpiexec['mpiexec']))
if self._mpiexec['mpiexec_global_args'] is not None:
if self._mpiexec['mpiexec_global_args'] is not None and \
self._mpiexec['mpiexec_global_args'] != '':
command.append(str(self._mpiexec['mpiexec_global_args']))
command.append(str(self._mpiexec['mpiexec_numprocs_flag']))
command.append(str(self._np))
Expand Down

0 comments on commit 698825e

Please sign in to comment.