Two issues when using the -s/--select option with mdb launch.
- unselected ranks adds unnecessary
-- before self.args which stops them working.
|
line = f"-n 1 {self.target} -- {self.args}" |
- stdout is only redirected for selected ranks
|
if self.redirect_stdout is not None: |
|
options = options + [ |
|
"--redirect-stdout", |
|
f"{self.redirect_stdout}", |
|
] |
Two issues when using the
-s/--selectoption withmdb launch.--beforeself.argswhich stops them working.mdb/src/mdb/mdb_wrapper.py
Line 187 in f91d982
mdb/src/mdb/mdb_wrapper.py
Lines 176 to 180 in f91d982