ompi icon indicating copy to clipboard operation
ompi copied to clipboard

ompi/5.0.x: mpiexec -V return value is 243 instead of "0"

Open ericch1 opened this issue 3 years ago • 2 comments

Hi,

just noticed that when I execute "mpiexec -V" with ompi/5.0.x branch, the return value is "243".

All other versions of MPI used to return "0" I think...

Screenshot:

(17:18:49) [zorg]:Test.MEF++> /opt/openmpi-5.x_debug/bin/mpiexec -V; echo $?
mpiexec (Open MPI) 5.0.0rc7

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


(17:18:55) [zorg]:Test.MEF++> /opt/openmpi-4.1.2/bin/mpiexec -V; echo $?
mpiexec (OpenRTE) 4.1.2

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


(17:19:02) [zorg]:Test.MEF++> /opt/openmpi-3.x_debug/bin/mpiexec -V; echo $?
mpiexec (OpenRTE) 4.1.2

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

Is this a wanted behaviour change?

Thanks, Eric

ericch1 avatar Jun 19 '22 21:06 ericch1

This feels like a bug.

jsquyres avatar Jun 22 '22 15:06 jsquyres

Yes it is - I have fixed it in https://github.com/openpmix/openpmix/pull/2628 and https://github.com/openpmix/prrte/pull/1380. Will backport those to their respective release branches when done.

rhc54 avatar Jun 23 '22 18:06 rhc54

Looks like this was fixed long ago.

jsquyres avatar Aug 19 '22 16:08 jsquyres