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...