You are not logged in.
Dear everyone,
I'm busy developing an application using OpenMPI, but I can't seem to get it working. I've installed OpenMPI 1.6.3. I've written/copied a small test program to see if it works, but whenever I try to run it I get the following message:
[linus@linus-desktop asp]$ mpirun -np 4 test
--------------------------------------------------------------------------
mpirun noticed that the job aborted, but has no info as to the process
that caused that situation.
--------------------------------------------------------------------------
This is the test program I'm running:
#include <stdio.h>
#include <mpi.h>
int main(int argc, char **argv){
int rank, size;
printf("MPI is not yet initialized\n");
MPI_Init (&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
printf("Hello world from process %d of %d\n", rank, size);
MPI_Finalize();
return 0;
}
I'm running 3.6.11-1-ARCH, all my packages are up to date.
Does anybody have an idea what's going on?
Regards,
Linus
PS. I hope I posted this in the right place, there doesn't seem to be a dedicated development section on this forum.
Offline
Oh wow. Okay, never mind... It seems that I used the wrong command when invoking my program. It should be mpirun -np <x> ./test instead of mpirun -np <x> test. I tried deleting this post, but I can't seem to figure out how?
Offline