Bug 1105902 - openmpi is built without MPI_THREAD_MULTIPLE support
Summary: openmpi is built without MPI_THREAD_MULTIPLE support
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: openmpi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Doug Ledford
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-08 22:45 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2019-05-02 18:37 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-10 14:50:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to enable MPI_THREAD_MULTIPLE support (889 bytes, patch)
2014-06-09 07:52 UTC, Dominik 'Rathann' Mierzejewski
no flags Details | Diff

Description Dominik 'Rathann' Mierzejewski 2014-06-08 22:45:08 UTC
Description of problem:
Any MPI application that uses OpenMP as well and initializes MPI using
mpi_init_thread with required_mpi_thread_level set to MPI_THREAD_MULTIPLE will fail. Example: elpa library configured with --with-openmp.

Version-Release number of selected component (if applicable):
openmpi-1.8.1-1.fc21.x86_64

How reproducible:
100%

Steps to Reproduce:
1. module load mpi/openmpi-x86_64 
2. ompi_info |grep Thread

Actual results:
          Thread support: posix (MPI_THREAD_MULTIPLE: no, OPAL support: yes, OMPI progress: no, ORTE progress: yes, Event lib: yes)


Expected results:
          Thread support: posix (MPI_THREAD_MULTIPLE: yes, OPAL support: yes, OMPI progress: no, ORTE progress: yes, Event lib: yes)

Additional information:
Simply add --enable-mpi-thread-multiple to configure call.

Comment 1 Dominik 'Rathann' Mierzejewski 2014-06-09 07:52:52 UTC
Created attachment 904573 [details]
patch to enable MPI_THREAD_MULTIPLE support

Scratch build of openmpi with that option enabled fixes elpa self-tests for me: https://koji.fedoraproject.org/koji/taskinfo?taskID=7023103

Comment 2 Doug Ledford 2014-06-10 14:47:25 UTC
Originally, we had this support enabled.  We were then told by the upstream Open MPI developers that it probably wasn't the best to have it turned on in a production environment as it brought stability issues.  So we turned it off.  We never turned it back on after that, but I don't watch the upstream Open MPI mailing list to know if they have declared it ready for prime time usage.

Comment 3 Orion Poplawski 2014-06-10 14:50:56 UTC
It's still very much unstable - works in some situations, fails in others.  I don't think we can enable it.

Comment 4 Christoph Junghans 2017-06-23 22:18:41 UTC
Any update on this topic? Did it change in openmpi-2.1?

Comment 5 Zbigniew Jędrzejewski-Szmek 2019-05-02 18:37:17 UTC
This got resolved in https://bugzilla.redhat.com/show_bug.cgi?id=1369989.


Note You need to log in before you can comment on or make changes to this bug.