mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Allow usage of wrapper script when running regression tests with MPI
This commit is contained in:
parent
b3b72e1c52
commit
61cc8baa64
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ class Config:
|
|||
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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue