-
Notifications
You must be signed in to change notification settings - Fork 929
Closed
Labels
Milestone
Description
We are discussing updating the compiler requirement for Open MPI to require C11. The features we want to require are:
- C11 atomics. These will completely replace the hand-coded assembly in Open MPI.
- Thread local support. This feature will completely replace the thread local storage code provided by opal.
aligned_alloc. Right now we use memalign, posix_memalign, or malloc + hand aligning. This will bump the minimum glibc up to 2.16. If 2.16 is too new we can wrap this function in opal/util.
Like to haves:
_Static_assert- Generics
Compiler status pages:
-
Intel: https://software.intel.com/en-us/articles/c11-support-in-intel-c-compiler . Intel is missing
_Atomiceven in the latest versions. We will have to useatomic_*(exatomic_longinstead of_Atomic long) to support this compiler. -
Clang: v3.1+ started adding support in v3.1. C11 support was enabled by default in 2014.
-
PGI: Supported since at least late 2014. Will have to verify older releases.
-
XLC: Supported since 2012