Bug 905263

Summary: OpenMPI does not require all needed libraries
Product: [Fedora] Fedora Reporter: Shane Hart <shart6>
Component: openmpiAssignee: Doug Ledford <dledford>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 18CC: dakingun, dledford, fenlason, orion
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-09 11:21:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shane Hart 2013-01-29 01:48:56 UTC
Description of problem:  When running a program with mpirun, or executing ompi_info, or basically anything that causes OpenMPI to dlopen() it's plugins the following is printed to STDERR:

[myhostname:14783] mca: base: component_find: unable to open /usr/lib64/openmpi/lib/openmpi/mca_btl_ofud: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)
[myhostname:14783] mca: base: component_find: unable to open /usr/lib64/openmpi/lib/openmpi/mca_btl_openib: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)

Version-Release number of selected component (if applicable):

OpenMPI 1.6.3 (Fedora pacakge 1.6.3-8.fc18).  Package was upgraded recently using FedUP.  Also re-installed using yum reinstall openmpi openmpi-devel.

How reproducible:

Every time for me.

Steps to Reproduce:
1. Run mpirun <executable> or ompi_info.
2. When OpenMPI tries to dlopen() plugins error is printed to screen.
3. mca_btl_ofud.so and mca_btl_openib.so are in /usr/lib64/openmpi/lib/openmpi as expected.
  
Actual results:

[necluster.engr.utk.edu:14783] mca: base: component_find: unable to open /usr/lib64/openmpi/lib/openmpi/mca_btl_ofud: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)
[necluster.engr.utk.edu:14783] mca: base: component_find: unable to open /usr/lib64/openmpi/lib/openmpi/mca_btl_openib: perhaps a missing symbol, or compiled for a different version of Open MPI? (ignored)


Expected results:

No error printed to STDERR.  Note that the program still seems to run correctly, this appears to be just a cosmetic issue.

Comment 1 Orion Poplawski 2013-01-29 02:23:40 UTC
Due to some improper requires filtering we're not requiring opensm-libs.  If you install that the error should go away.  I'm building a hopefully fixed version now.

Comment 2 Fedora Update System 2013-01-29 02:49:51 UTC
openmpi-1.6.3-7.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/openmpi-1.6.3-7.fc18

Comment 3 Shane Hart 2013-01-29 03:08:48 UTC
Thanks for the extremely quick reply.  Installing opensm-libs does indeed get rid of the problem.

Comment 4 Fedora Update System 2013-01-30 00:40:17 UTC
Package openmpi-1.6.3-7.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openmpi-1.6.3-7.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1605/openmpi-1.6.3-7.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-02-09 11:21:58 UTC
openmpi-1.6.3-7.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.