Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [Pkg-openmpi-maintainers] Bug#512616: [openmpi] missing symbols?
From: Dirk Eddelbuettel (edd_at_[hidden])
Date: 2009-01-22 06:10:00


Dear Open MPI developers,

This bug report just came in against the new Open MPI 1.3 release which we
built the same way as 1.2.*.

Christophe,

Sorry about that. And yes, it should be a drop-in replacement. You can
revert back to 1.2.8 from testing for now. If you have a small
self-contained C++ example, it would help debugging.

Regards, Dirk

On 22 January 2009 at 11:10, Christophe Prud'homme wrote:
| 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
| --
| Pkg-openmpi-maintainers mailing list
| Pkg-openmpi-maintainers_at_[hidden]
| http://lists.alioth.debian.org/mailman/listinfo/pkg-openmpi-maintainers

-- 
Three out of two people have difficulties with fractions.