mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Tests: Fix backwards compatibility of --mpiexec
This commit is contained in:
parent
0a07105a81
commit
988028fc7c
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ class Config:
|
|||
self.cp2k_root = Path(__file__).resolve().parent.parent
|
||||
self.mpiexec = args.mpiexec
|
||||
if "{N}" not in self.mpiexec: # backwards compatibility
|
||||
self.mpiexec = self.mpiexec.replace(" ", " -n {N} ", 1)
|
||||
self.mpiexec = f"{self.mpiexec} ".replace(" ", " -n {N} ", 1).strip()
|
||||
self.smoketest = args.smoketest
|
||||
self.valgrind = args.valgrind
|
||||
self.keepalive = args.keepalive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue