From ca099834ca833f944a18532ebfe3f5a3fd66fe9c Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 3 Mar 2022 12:55:41 +0100 Subject: [PATCH] Moved mpi option to correct location --- swash/processing/swash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swash/processing/swash.py b/swash/processing/swash.py index f47a019..fc5aa71 100644 --- a/swash/processing/swash.py +++ b/swash/processing/swash.py @@ -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(