Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Openmpi 1.3 problems with libtool-ltdl on CentOS 4 and 5
From: Roy Dragseth (roy.dragseth_at_[hidden])
Date: 2009-01-23 09:04:20

Hi, all.

I do not know if this is to be considered a real bug or not, I'm just
reporting it here so people can find it if they google around for the error
message this produces. There is a backtrace at the end of this mail.

Problem description:

Openmpi 1.3 seems to be nonfunctional when used with libltdl in libtool v1.5
that is installed on CentOS (aka RH EL) 4 and 5. Upgrading to libtool
v2.2.6a (and maybe earlier versions) solves the problem. We saw this problem
with both gcc and icc.

Here is a code snippet that is extracted from the real application.

#include <mpi.h>
#include <ltdl.h>

int main(int argc,char *argv[])

  char *dummy="dummy";
  const lt_dlhandle hModule = lt_dlopenext(dummy);


This will crash in MPI_Init when using libtool 1.5.X, if you comment out
lt_dlopenext it will run normally.

I can provide a complete example if neccessary.

As I said earlier, upgrading to libtool 2.2.6a solved the problem for us.

Here is the backtrace:

*** Process received signal ***
Signal: Segmentation fault (11)
Signal code: (128)
Failing at address: (nil)
[ 0] /lib64/tls/ [0x3ffce0c4f0]
[ 1] /global/apps/openmpi/1.3rc2/lib/ [0x2a95d4bce5]
[ 2] /global/apps/openmpi/1.3rc2/lib/
+0xf0) [0x2a95d4b470]
[ 3] /global/apps/openmpi/1.3rc2/lib/ [0x2a95d56e1f]
[ 4] /global/apps/openmpi/1.3rc2/lib/libopen- [0x2a95d5657d]
[ 5] /global/apps/openmpi/1.3rc2/lib/libopen- [0x2a95d581be]
[ 6] /global/apps/openmpi/1.3rc2/lib/libopen- [0x2a95d73ddd]
[ 7] /global/apps/openmpi/1.3rc2/lib/
[ 8] /global/apps/openmpi/1.3rc2/lib/
[ 9] /global/apps/openmpi/1.3rc2/lib/ [0x2a95a38fee]
[10] /global/apps/openmpi/1.3rc2/lib/
[11] nest-ompi_1.3rc2/bin/nest(_ZN4nest12Communicator4initEPiPPPc+0x11f)
[12] nest-ompi_1.3rc2/bin/nest(main+0x74) [0x4a7674]
[13] /lib64/tls/ [0x339271c3fb]
[14] nest-ompi_1.3rc2/bin/nest(_ZNSt8ios_base4InitD1Ev+0x5a) [0x4a756a]
*** End of error message ***

  The Computer Center, University of Tromsø, N-9037 TROMSØ Norway.
	      phone:+47 77 64 41 07, fax:+47 77 64 41 00
        Roy Dragseth, Team Leader, High Performance Computing
	 Direct call: +47 77 64 62 56. email: roy.dragseth_at_[hidden]