If your program returns an error status (i.e., a non-zero exit status), then
mpirun passes that along to you so any script you are using can know that
something failed.
On Feb 19, 2012, at 7:41 PM, Truls Edvard Stokke wrote:
> Hi,
>
> In running this minimal program (test.c)
>
> #include
>
Hi,
In running this minimal program (test.c)
#include
#include
int main (int argc, char ** argv) {
MPI_Init(&argc, &argv);
MPI_Finalize();
exit(EXIT_FAILURE);
}
compiled and ran with the commands
mpicc test.c
mpirun -n 1 a.out
I get the output
---