Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] segfault when combining OpenMPI and GotoBLAS2
From: Eloi Gaudry (eg_at_[hidden])
Date: 2010-01-18 06:30:10


Dorian Krause wrote:
> Hi,
>
> has any one successfully combined OpenMPI and GotoBLAS2? I'm facing
> segfaults in any program which combines the two libraries (as shared
> libs). The segmentation fault seems to occur in MPI_Init(). The gdb
> backtrace is
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x424fb940 (LWP 9155)]
> 0x00002b2956ca9900 in opal_list_t_class () from
> /share/apps/openmpi/1.3.2/gcc-4.1.2/lib/libopen-pal.so.0
> (gdb) bt
> #0 0x00002b2956ca9900 in opal_list_t_class () from
> /share/apps/openmpi/1.3.2/gcc-4.1.2/lib/libopen-pal.so.0
> #1 0x0000003df9c06307 in start_thread () from /lib64/libpthread.so.0
> #2 0x0000003df90d1ded in clone () from /lib64/libc.so.6
> #3 0x0000000000000000 in ?? ()
>
> (For sake of completeness I have attached the test-program, you need
> to compile it with -DSIZEOF_SCAL_T=8, e.g.
> mpicc -DSIZEOF_SCAL_T=8 -o blas blas.c -L$GOTO2_LIB -lgoto2 -lgfortran).
>
> I'm working on a Opteron x86_64 system running CentOs 5.2 . GotoBLAS2
> V. 1.10 was compiled with gcc-4.1.2. This problem applies to OpenMPI
> 1.3.2 and OpenMPI 1.4.0 alike (both compiled with gcc-4.1.2).
>
> I could post the `ompi_info --all` if anyone is interested but I think
> both installations are quiet standard (openib, romio).
>
> Thanks,
> Dorian
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
Dorian,

Does the segmentation faults you're facing also happen in a sequential
environment (i.e. not linked against openmpi libraries) ?
Have you already informed Kazushige Goto (developer of Gotoblas) ?

Regards,
Eloi

PS: Could you post your Makefile.rule here so that we could check the
different compilation options chosen ?