1
Fork 0

Moved mpi option to correct location

This commit is contained in:
Edgar P. Burkhart 2022-03-03 12:55:41 +01:00
parent 808f2629dc
commit ca099834ca
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -42,7 +42,7 @@ with tempfile.TemporaryDirectory(prefix="swash_", dir=".") as tmp_raw:
log.info(f"Runing swash in '{tmpdir}'")
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}")
swash_run = subprocess.Popen(