Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281092 - undefined symbol: ompi_mpi_abort in openmpi-1.3.2, fixed in openmpi-1.3.3, version bump request
Summary: undefined symbol: ompi_mpi_abort in openmpi-1.3.2, fixed in openmpi-1.3.3, ve...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Justin Bronder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 11:38 UTC by Radoslaw Madej (radegand)
Modified: 2009-08-13 01:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to get more relevant error message (openmpi.patch,322 bytes, patch)
2009-08-11 11:39 UTC, Radoslaw Madej (radegand)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radoslaw Madej (radegand) 2009-08-11 11:38:12 UTC
Undefined symbol: ompi_mpi_abort in openmpi-1.3.2. Confirmed with upstream, this is fixed in upstream 1.3.3. To get the actual error you need to use sth that will actually use this symbol - good example is johntheripper compiled with the mpi flag set.

Reproducible: Always

Steps to Reproduce:
1.modify ebuild to apply the patch provided - standard error is not verbose enough
2.emerge =openmpi-1.3.2
3.USE="mpi" emerge =johntheripper-1.7.3.1
4.run: mpirun -np 2 john -test

Actual Results:  
dlopen failed on file /usr/lib/openmpi/mca_osc_pt2pt.so: /usr/lib/openmpi/mca_osc_pt2pt.so: undefined symbol: ompi_mpi_abort
dlopen failed on file /usr/lib/openmpi/mca_osc_pt2pt.so: /usr/lib/openmpi/mca_osc_pt2pt.so: undefined symbol: ompi_mpi_abort
dlopen failed on file /usr/lib/openmpi/mca_osc_pt2pt.so: /usr/lib/openmpi/mca_osc_pt2pt.so: undefined symbol: ompi_mpi_abort
mca: base: component_find: unable to open /usr/lib/openmpi/mca_osc_pt2pt: file not found (ignored)
dlopen failed on file /usr/lib/openmpi/mca_osc_rdma.so: /usr/lib/openmpi/mca_osc_rdma.so: undefined symbol: ompi_mpi_abort
dlopen failed on file /usr/lib/openmpi/mca_osc_rdma.so: /usr/lib/openmpi/mca_osc_rdma.so: undefined symbol: ompi_mpi_abort
dlopen failed on file /usr/lib/openmpi/mca_osc_rdma.so: /usr/lib/openmpi/mca_osc_rdma.so: undefined symbol: ompi_mpi_abort
mca: base: component_find: unable to open /usr/lib/openmpi/mca_osc_rdma: file not found (ignored)
John the Ripper password cracker, version 1.7.3.1-all-3
Copyright (c) 1996-2008 by Solar Designer and others
Homepage: http://www.openwall.com/john/

Expected Results:  
lack of above error messages :)

Also check symbols in libmpi.so. The affected version:
# readelf -s /usr/lib64/libmpi.so.0.0.0 | grep ompi_mpi_abort
   368: 00000000002a3c09     1 OBJECT  GLOBAL DEFAULT   21 ompi_mpi_abort_print_stac
   478: 00000000002a3c0c     4 OBJECT  GLOBAL DEFAULT   21 ompi_mpi_abort_delay

and fixed in 1.3.3:
$ readelf -s /usr/lib/libmpi.so.0.0.0 | grep ompi_mpi_abort
   367: 00090d85     1 OBJECT  GLOBAL DEFAULT   22 ompi_mpi_abort_print_stac
   477: 00090d88     4 OBJECT  GLOBAL DEFAULT   22 ompi_mpi_abort_delay
   804: 00031090  1274 FUNC    GLOBAL DEFAULT   11 ompi_mpi_abort

I've modified ebuild for 1.3.2 to pull 1.3.3 instead and it worked fine. Thanks for Jeff Squyres from openmpi for helping with this bug!
Comment 1 Radoslaw Madej (radegand) 2009-08-11 11:39:52 UTC
Created attachment 200923 [details, diff]
patch to get more relevant error message
Comment 2 Justin Bronder (RETIRED) gentoo-dev 2009-08-13 01:44:57 UTC
Bumped, thanks for reporting.