Well that's not a good thing. I have filed a bug about this (https:// svn.open-mpi.org/trac/ompi/ticket/954) and will try to look into it soon, but don't know when it will get fixed.

Thanks for bringing this to our attention!

Tim

On Mar 20, 2007, at 1:39 AM, Bill Saphir wrote:


If you ask mpirun to launch an executable that does not exist, it
fails, but returns an exit status of 0.
This makes it difficult to write scripts that invoke mpirun and need
to check for errors.
I'm wondering if a) this is considered a bug and b) whether it might
be fixed in a near term release.

Example:

orterun -np 2 asdflkj
---------------------------------------------------------------------- --
--
Failed to find the following executable:

Host:       build-linux64
Executable: asdflkj

Cannot continue.
---------------------------------------------------------------------- --
--
echo $?
0


I see this behavior for both 1.2 and 1.1.x.

Thanks for your help.

Bill

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to