I have some problems to run open mpi library on my computer.
This is my configuration:
Ubuntu 10.04
Noyau linux 2.6.32-21 generic
Gnome 2.30.0
2 processors (8 cores to each one) AMD Opteron (16Go)
I have test two versions of open mpi. I have the same problem with the 2 versions : V1.4.4 et V1.4.1
This is my procedure to install open MPI: (In my installation repertory)
- mkdir build
- cd build
- ../configure --prefix=/my_intallation_repertory
- make -j 16 all
- make install
And I use a Hello world program to test the library:
Code: Select all
/* C Example */
#include <stdio.h>
#include <mpi.h>
int main (argc, argv)
int argc;
char *argv[];
{
int rank, size;
MPI_Init (&argc, &argv); /* starts MPI */
MPI_Comm_rank (MPI_COMM_WORLD, &rank); /* get current process id */
MPI_Comm_size (MPI_COMM_WORLD, &size); /* get number of processes */
printf( "Hello world from process %d of %d\n", rank, size );
MPI_Finalize(); return 0;
}
run with : /my_intallation_repertory/mpiexec -np 16 hello
The result is random. Some time it's work and I have this output:
"Hello world from process 0 of 16"
"Hello world from process 3 of 16"
"Hello world from process 2 of 16"
...
For the 16 process
And some time, there is a bug and I have this output:
"mpiexec noticed that process rank 10 with PID2215 on node ORDI01 exited on signal 11 (segmentation fault)"
Then I need to reboot my computer.
I have post my problem on the open mpi website but I don't have answer.
Has somebody have this problem? I don't know if it's a material problem, an OS problem, my procedure to install and run open mpi, ... And I don't understand the random phenomenon.
Thanks
Best regards
Alexandre