Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exterminate all 32 bit platform support from opal atomic (IA32, ARM32, PowerPC32) #8722

Merged

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Mar 26, 2021

EDIT: NEWS note for when this is PR'ed to v5.0.x: 32 bit builds are now only supported with C11-capable compilers (e.g., gcc >= 5.4.0).

Note: I don't know that 5.4.0 is the lowest possible gcc with the correct support, but Nathan tested gcc 5.4.0 and it had all the Right C11 Things for 32 bit builds. We did not test lower versions than that. --- Should work all the way back to v4.9.x but the performance will not be as good as recent releases.

@hjelmn
Copy link
Member Author

hjelmn commented Mar 26, 2021

Tested on IA32. With this C11 is now required for ARM32, PowerPC32, and IA32.

@hjelmn
Copy link
Member Author

hjelmn commented Mar 26, 2021

@jsquyres This is an easy fix. Though I never said there was one. Turns out there was.

@rhc54
Copy link
Contributor

rhc54 commented Mar 26, 2021

Wouldn't we still want #8575 ?

@hjelmn
Copy link
Member Author

hjelmn commented Mar 26, 2021

@rhc54 This would supercede that. With this we will build on IA32 if there is a C11 compiler. It will fail otherwise.

@jsquyres jsquyres added the NEWS label Mar 26, 2021
hjelmn added 2 commits March 26, 2021 17:53
These platforms are losing support with each passing day and it
is time to let them go. They will continue to work with a C11
compiler but Open MPI will no longer maintain ASM for these
platforms.

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
These macros are no longer relevant as all platforms have both
32 and 64-bit atomic math. This is required by Open MPI.

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
@hjelmn hjelmn force-pushed the exterminate_all_32_bit_atomic_platform_support branch from a6695d5 to 12b02dd Compare March 26, 2021 23:53
@hjelmn hjelmn changed the title Exterminate all 32 bit atomic platform support Exterminate all 32 bit platform support from opal atomic (IA32, ARM32, PowerPC32) Mar 27, 2021
@hjelmn hjelmn requested a review from awlauria March 29, 2021 14:49
Copy link
Contributor

@awlauria awlauria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on power64

opal/include/opal/sys/powerpc/atomic.h Show resolved Hide resolved
Copy link
Member

@gpaulsen gpaulsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hjelmn hjelmn merged commit 60cbad7 into open-mpi:master Mar 30, 2021
@awlauria
Copy link
Contributor

@hjelmn please cherry-pick to v5.0.x when you get a chance.

@awlauria
Copy link
Contributor

brought in a batch of v5.0.x commits here: #8902

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants