Open MPI logo

Open MPI User's Mailing List Archives

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

From: Ricardo Reis (rreis_at_[hidden])
Date: 2007-07-10 12:10:21


On Mon, 9 Jul 2007, Jeff Squyres wrote:

> Ok, that unfortunately doesn't make much sense -- I don't know what
> opal_event_set() inside opal_event_init() would cause a segv.
>
> Can you recompile OMPI with -g and re-run this test? The "where"
> information from gdb will then give us more information.

I've recompiled with

./configure --prefix=/usr/local/share/openmpi-1.2.3.icc.ifort CC=icc
CXX=icpc FC=ifort F77=ifort CFLAGS=-g CXXFLAGS=-g FCFLAGS=-g FFLAGS=-g
--enable-mem-debug --enable-trace --enable-debug --enable-mem-debug
--enable-picky --without-memory-manager

and here is the result from gdb:

| ---------------------------------------------------------------------- |

5017.0 $ gdb ompi_info
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/share/openmpi-1.2.3.icc.ifort/bin/ompi_info
[Thread debugging using libthread_db enabled]
[New Thread -1215739504 (LWP 26073)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215739504 (LWP 26073)]
0xb7dbdb4a in opal_init_util () at runtime/opal_init.c:130
130 if( ++opal_initialized != 1 ) {
Current language: auto; currently c
(gdb) where
#0 0xb7dbdb4a in opal_init_util () at runtime/opal_init.c:130
#1 0x08054769 in main (argc=1, argv=0xbfc7aa14) at ompi_info.cc:83
(gdb) shared
Symbols already loaded for /lib/ld-linux.so.2
Symbols already loaded for
/usr/local/share/openmpi-1.2.3.icc.ifort/lib/libmpi.so.0
Symbols already loaded for
/usr/local/share/openmpi-1.2.3.icc.ifort/lib/libopen-rte.so.0
Symbols already loaded for
/usr/local/share/openmpi-1.2.3.icc.ifort/lib/libopen-pal.so.0
Symbols already loaded for /lib/i686/cmov/libnsl.so.1
Symbols already loaded for /lib/i686/cmov/libutil.so.1
Symbols already loaded for /lib/i686/cmov/libm.so.6
Symbols already loaded for /usr/lib/libstdc++.so.6
Symbols already loaded for /lib/libgcc_s.so.1
Symbols already loaded for /opt/intel/cc/10.0.023/lib/libcxaguard.so.5
Symbols already loaded for /lib/i686/cmov/libpthread.so.0
Symbols already loaded for /lib/i686/cmov/libc.so.6
Symbols already loaded for /lib/i686/cmov/libdl.so.2
Symbols already loaded for /opt/intel/cc/10.0.023/lib/libimf.so
Symbols already loaded for /opt/intel/cc/10.0.023/lib/libintlc.so.5
(gdb)

| ---------------------------------------------------------------------- |

  greets,

  Ricardo Reis

  'Non Serviam'

  PhD student @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  <http://www.lasef.ist.utl.pt>

  &

  Cultural Instigator @ Rádio Zero
  http://radio.ist.utl.pt