Skip to content

Wrong parsing of command line arguments with mpirun #6372

@angainor

Description

@angainor

In 3.1.1 and 3.1.3 I get the following warning starting MPI applications that take the --am argument:

$ mpirun -H c11-3 ls --am aa bb
--------------------------------------------------------------------------
Process 130051 Unable to locate the variable file "aa" in the following search path:
   /cluster/software/OpenMPI/3.1.1-GCC-7.3.0-2.30/share/openmpi/amca-param-sets:/cluster/projects/nn9999k/
--------------------------------------------------------------------------
--------------------------------------------------------------------------
You're using the --am option. Please be advised that this option is deprecated;
you should use --tune instead. The --tune option allows one to specify mca
parameters as well as environment variables from within a file using the same
command line syntax (e.g. -mca var val -mca var "val" -x var=val -x var).
The --am option will be removed in a future release.
--------------------------------------------------------------------------

Of course ls doesn't take this argument, but that is only to illustrate the problem. It seems that mpirun is trying to analyze the application's arguments, and beyond the application name. Note that the above message is only displayed when the -H switch is present, and when there are at least 2 arguments after --am. Pretty funny, and only annoying: I do not see any other side effects except for the noise.

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