Skip to content

Commit

Permalink
Allow usage of wrapper script when running regression tests with MPI
Browse files Browse the repository at this point in the history
  • Loading branch information
RMeli committed Oct 26, 2023
1 parent b3b72e1 commit 61cc8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/do_regtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def launch_exe(
if self.valgrind:
cmd = ["valgrind", "--error-exitcode=42", "--exit-on-first-error=yes"] + cmd
if self.use_mpi:
cmd = self.mpiexec + ["-n", str(self.mpiranks)] + cmd
cmd = [self.mpiexec[0], "-n", str(self.mpiranks)] + self.mpiexec[1:] + cmd
if self.debug:
print(f"Creating subprocess: {cmd} {args}")
return asyncio.create_subprocess_exec(
Expand Down

0 comments on commit 61cc8ba

Please sign in to comment.