Moved mpi option to correct location
This commit is contained in:
parent
808f2629dc
commit
ca099834ca
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ with tempfile.TemporaryDirectory(prefix="swash_", dir=".") as tmp_raw:
|
||||||
log.info(f"Runing swash in '{tmpdir}'")
|
log.info(f"Runing swash in '{tmpdir}'")
|
||||||
path = pathlib.Path(config.get("swash", "path"))
|
path = pathlib.Path(config.get("swash", "path"))
|
||||||
|
|
||||||
cmd = (path.joinpath("swashrun"), *mpi, "-input", inp.name)
|
cmd = (path.joinpath("swashrun"), "-input", inp.name, *mpi)
|
||||||
log.info(f"Running {cmd}")
|
log.info(f"Running {cmd}")
|
||||||
|
|
||||||
swash_run = subprocess.Popen(
|
swash_run = subprocess.Popen(
|
||||||
|
|
Loading…
Reference in a new issue