Re: [OMPI users] `return EXIT_FAILURE;` triggers error message

2014-09-03 Thread Ralph Castain
Exiting with a non-zero status is considered as indicating a failure that needs reporting. On Sep 3, 2014, at 1:48 PM, Nico Schlömer wrote: > Hi all, > > with OpenMPI 1.6.5 (default Debian/Ubuntu), I'm running the program > > ``` > #include > #include > > int main( int argc, char* argv[] )

[OMPI users] `return EXIT_FAILURE;` triggers error message

2014-09-03 Thread Nico Schlömer
Hi all, with OpenMPI 1.6.5 (default Debian/Ubuntu), I'm running the program ``` #include #include int main( int argc, char* argv[] ) { MPI_Init (&argc, &argv); MPI_Finalize(); return EXIT_FAILURE; } ``` that unconditionally returns an error flag. When executing this, I'm somewhat surpris