forked from open-mpi/ompi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the Removed MPI APIs to fatally error if possible.
Addresses open-mpi#6278 In v4.0.x we intended that if the user did not configure with --enable-mpi1-compatibility, that they would get a Fatal error, even though we are building those removed symbols into libmpi. (to support MPI applications compiled and linked with v3.x) This commit changes removed MPI APIs to try to use either the error function attribute (if the compiler supports it) or to use use the C11 Static Assert (also if supported by the compiler) If the compiler doesn't offer this support, the user will instead just get an error trying to use a function that wasn't declared. Signed-off-by: Geoffrey Paulsen <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters