[Pkg-openmpi-maintainers] Bug#512616: [openmpi] missing symbols?

Christophe Prud'homme prudhomm at debian.org
Thu Jan 22 10:10:50 UTC 2009


Package: openmpi
Version: 1.3-1
Severity: serious

--- Please enter the report below this line. ---


Hello

I just upgraded to openmpi 1.3-1. The compilation of my codes went fine.
The linking stage sometimes failed with

undefined reference to `MPI::Win::Set_errhandler(MPI::Errhandler const&)'
undefined reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'

in some external libs (trilinos) using openmpi 

When linking is ok, runtime fails with for example

symbol lookup error: /usr/lib/libHYPRE_FEI.so.2.0.0: undefined symbol: 
_ZN3MPI3Win14Set_errhandlerERKNS_10ErrhandlerE   

After playing with nm I got

nm /usr/lib/openmpi/lib/libmpi_cxx.a                                           
00000000 W _ZN3MPI6Status9Set_errorEi                                       
00000000 W _ZNK3MPI3Win14Set_errhandlerERKNS_10ErrhandlerE                  
00000000 W _ZNK3MPI4Comm14Set_errhandlerERKNS_10ErrhandlerE                 
00000000 W _ZN3MPI6Status9Set_errorEi                                       
00000000 W _ZNK3MPI3Win14Set_errhandlerERKNS_10ErrhandlerE                  
00000000 W _ZNK3MPI4Comm14Set_errhandlerERKNS_10ErrhandlerE                 
00000000 W _ZN3MPI6Status9Set_errorEi                                       
00000000 W _ZNK3MPI3Win14Set_errhandlerERKNS_10ErrhandlerE                  
00000000 W _ZNK3MPI4Comm14Set_errhandlerERKNS_10ErrhandlerE                 
00000000 W _ZN3MPI6Status9Set_errorEi                                       
00000000 W _ZNK3MPI3Win14Set_errhandlerERKNS_10ErrhandlerE
00000000 W _ZNK3MPI4Comm14Set_errhandlerERKNS_10ErrhandlerE
00000000 W _ZN3MPI6Status9Set_errorEi
00000000 W _ZNK3MPI3Win14Set_errhandlerERKNS_10ErrhandlerE
00000000 W _ZNK3MPI4Comm14Set_errhandlerERKNS_10ErrhandlerE
00000000 W _ZN3MPI6Status9Set_errorEi
00000000 W _ZNK3MPI3Win14Set_errhandlerERKNS_10ErrhandlerE
00000000 W _ZNK3MPI4Comm14Set_errhandlerERKNS_10ErrhandlerE

which mean that the missing symbol is registered as a weak symbol.

PS: I have -lmpi++ -lmpi at the linking stage and libmpi_cxx.* are present in 
/usr/lib/openmpi/lib

Am I missing something with 1.3? shouldn't it be a drop in replacement ?

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686-bigmem

Debian Release: 5.0
  500 unstable        ftp.fr.debian.org 
  500 testing         security.debian.org 
  500 hardy           ppa.launchpad.net 
  500 UNRELEASED      kde42.debian.net 

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
                        | 



-- 
Debian Developer
Annecy - Grenoble
Scientific computing related software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-openmpi-maintainers/attachments/20090122/5fd7e36b/attachment-0002.htm 


More information about the Pkg-openmpi-maintainers mailing list