Moved mpi argument before input
This commit is contained in:
parent
9cadbaccf8
commit
11b940d7d0
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ with tempfile.TemporaryDirectory(prefix="swash_", dir=".") as tmp_raw:
|
|||
with open(tmpdir.joinpath("sws.log"), "w") as logfile:
|
||||
log.info(f"Runing swash in '{tmpdir}'")
|
||||
|
||||
cmd = (config.get("swash", "swashrun"), "-input", inp.name, *mpi)
|
||||
cmd = (config.get("swash", "swashrun"), *mpi, "-input", inp.name)
|
||||
log.info(f"Running {cmd}")
|
||||
|
||||
swash_run = subprocess.Popen(
|
||||
|
|
Loading…
Reference in a new issue