Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: George Bosilca (bosilca_at_[hidden])
Date: 2006-11-04 11:42:25


Pablo,

The problem is quite obvious ... you're not using Open MPI. Your program
was compiled with the mpicc provided by MPICH. The specific error seems to
indicate some internal problem with the communication device.

But, you should ask for help on the MPICH related mailing lists
(http://www-unix.mcs.anl.gov/mpi/mpich2/). Please submit the question
directly to their mailing list, I'm sure they will be happy to help you.

   Thanks,
     george.

PS: BTW never use hardcoded paths for the include files. The compilers
support the -I option for this exact purpose.

On Sat, 4 Nov 2006, pgarcia_at_[hidden] wrote:

>
> Hi, everydoby. Good afternoon.
>
> I've just configured and installed the openmpi-1.1.2 on a kubuntu
> GNU/linux, and I'm trying now to compile the hello.c example without
> results.
>
>> root_at_kubuntu:/home/livestrong/mpi/test# uname -a
>> Linux kubuntu 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006
>> i686 GNU/Linux
>
> Hello.c
> -------
> #include "/usr/lib/mpich-mpd/include/mpi.h"
> #include <stdio.h>
> int main (int argc, char** argv)
> {
> MPI_Init(&argc, &argv);
> printf("Hello word.\n");
> MPI_Finalize();
> return(0);
> }
>
> The error that I'm finding is this:
>
> root_at_kubuntu:/home/livestrong/mpi/prueba# mpirun -np 2 hello
> 0 - MPI_INIT : MPIRUN chose the wrong device ch_p4; program needs
> device ch_p4mpd
> /usr/lib/mpich/bin/mpirun.ch_p4: line 243: 16625 Segmentation
> fault "/home/livestrong/mpi/prueba/hello" -p4pg "/home/livestrong/mpi/prueba/PI16545" -p4wd "/home/livestrong/mpi/prueba"
>
> Does anybody know what it can be the problem?
>
> Regards and thank you very much in advance.
>
> Pablo.
>
> PD: I send the ompi_info output and the config.log to you.
>
> Besides
>

"We must accept finite disappointment, but we must never lose infinite
hope."
                                   Martin Luther King