Hi,
This program returns a zero exit status:
#include "mpi.h"
int main(int argc, char* argv[])
{
MPI_Init(&argc, &argv);
MPI_Finalize();
return 1;
}
Here is the output:
sahp5531% which mpirun
/pr/alegra/mpi/lam7.0.2_gnu3.2_ip/bin/mpirun
sahp5531% mpirun -np 1 -sa `pwd`/a.out
mpirun: n0 23221 0 0
What am I doing wrong? According to the documentation, it should return 1.
This is LAM/MPI version 7.0.2 running on a RedHat 9 system:
sahp5531% uname -a
Linux sahp5531 2.4.20-28.9psycho #1 SMP Wed Feb 18 07:08:55 MST 2004 i686
i686 i386 GNU/Linux
Any help appreciated.
-rich
|