Skip to content

fixes required when using -s/--select option with mdb launch #58

Description

@TomMelt

Two issues when using the -s/--select option with mdb launch.

  1. unselected ranks adds unnecessary -- before self.args which stops them working.
    line = f"-n 1 {self.target} -- {self.args}"
  2. stdout is only redirected for selected ranks

    mdb/src/mdb/mdb_wrapper.py

    Lines 176 to 180 in f91d982

    if self.redirect_stdout is not None:
    options = options + [
    "--redirect-stdout",
    f"{self.redirect_stdout}",
    ]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions