Skip to content

mpirun using application options as mpirun options  #12891

Open
@cniethammer

Description

@cniethammer

Background information

What version of Open MPI are you using? (e.g., v4.1.6, v5.0.1, git branch name and hash, etc.)

mpirun --version
mpirun (Open MPI) 5.0.5
(Build from release tarball)

Operating system/version: Rocky Linux 8.10

Details of the problem

The option parser in mpirun gets confused by application args if no mpirun options are provided and takes the application args as his own options:

shell$ mpirun -n 1 /bin/true --version
true (GNU coreutils) 8.30
...
# OK output


shell$ mpirun /bin/true --version
mpirun (Open MPI) 5.0.5

Report bugs to https://www.open-mpi.org/community/help/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions