You are not logged in.
analog to my stackoverflow post I need help with mpi. I am using openmpi and this is my sourcecode:
#include <stdio.h>
#include <mpi.h>
main (int argc, char* argv[]) {
int myrank;
int size;
MPI_Init(&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &myrank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
printf("Hello World. I'm process %d of %d processes.", myrank, size);
MPI_Finalize();
return 0;
}
If I now do:
mpicc test.c -o test
this works fine, but
mpirun -np 2 test
I get the error:
--------------------------------------------------------------------------
mpirun noticed that the job aborted, but has no info as to the process
that caused that situation.
--------------------------------------------------------------------------
What could be the reason for this problem???
What can I do now?
Do you need further information?
Last edited by vsilv (2013-11-13 17:27:37)
Offline
Fixed broken link, moving to Programming and Scripting...
Please edit your post title to better reflect your issue: https://wiki.archlinux.org/index.php/Fo … ow_to_Post
Offline