Bug 1921262

Summary: [RHEL-8.4] openmpi disable GCC atomics on aarch64
Product: Red Hat Enterprise Linux 8 Reporter: Robert Wespetal <wesper>
Component: openmpiAssignee: Honggang LI <honli>
Status: CLOSED ERRATA QA Contact: Afom T. Michael <tmichael>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: infiniband-qe, rdma-dev-team, tmichael
Target Milestone: rcKeywords: Triaged
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openmpi-4.0.5-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:46:02 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:
Bug Depends On:    
Bug Blocks: 1903942    

Description Robert Wespetal 2021-01-27 19:43:37 UTC
Description of problem:

The Open MPI 4.0.5 build has --enable-builtin-atomics set. The GCC atomics have known issues with aarch64 and have been disabled for this architecture in the Open MPI bugfix branch. See the links below for more information and context.


Version-Release number of selected component (if applicable):
Version     : 4.0.5
Release     : 2.el8

Additional info:
Open MPI bug report: https://github.com/open-mpi/ompi/issues/8268
Open MPI PR to change this flag by default on aarch64: https://github.com/open-mpi/ompi/pull/8413

Comment 5 Afom T. Michael 2021-02-10 03:50:59 UTC
Moving to SanityOnly+Verified.

openmpi-4.0.5-3.el8.aarch64.rpm was built with "--disable-silent-rules" - seen in its build log.

Below is from openmpi/4.0.5/3.el8/data/logs/aarch64/build.log:

Wrote: /builddir/build/SRPMS/openmpi-4.0.5-3.el8.src.rpm
[...snip...]
+ cd /builddir/build/BUILD
+ cd openmpi-4.0.5
[...snip...]
+ ./configure --prefix=/usr/lib64/openmpi --mandir=/usr/share/man/openmpi-aarch64 --includedir=/usr/include/openmpi-aarch64 --sysconfdir=/etc/openmpi-aarch64 --disable-silent-rules --disable-builtin-atomics ... CC=gcc ...
[...snip...]
Wrote: /builddir/build/RPMS/openmpi-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-devel-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-java-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-java-devel-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/python3-openmpi-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-debugsource-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-debuginfo-4.0.5-3.el8.aarch64.rpm
Wrote: /builddir/build/RPMS/openmpi-devel-debuginfo-4.0.5-3.el8.aarch64.rpm

Comment 7 errata-xmlrpc 2021-05-18 14:46:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RDMA stack bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1594