Skip to content

Misleading error message from mpiexec with missing #! interpreter #4528

@iljah

Description

@iljah

With openmpi 2.0.2 compiled from source I try to execute this script (test.sh):

#!/bin/nonexistent
echo works

and the error message from mpiexec -n 1 is very confusing:

...
  Application name:  ./test.sh
  Error:             No such file or directory

It took me a long while to figure out what was wrong with my mpi4py script, which had a wrong #! line due to virtualenv weirdness...

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