forked from CESM-Development/cime
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multiple definition errors with GCC>=10.1.0 by seperating definit…
…ions from declarations
- Loading branch information
Showing
3 changed files
with
24 additions
and
3 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* @file | ||
* Definition for Macros to handle errors in tests or libray code. | ||
* @author Ed Hartnett | ||
* @date 2020 | ||
* | ||
* @see https://github.com/NCAR/ParallelIO | ||
*/ | ||
|
||
/** | ||
* Global err buffer for MPI. When there is an MPI error, this buffer | ||
* is used to store the error message that is associated with the MPI | ||
* error. | ||
*/ | ||
char err_buffer[MPI_MAX_ERROR_STRING]; | ||
|
||
/** | ||
* This is the length of the most recent MPI error message, stored | ||
* int the global error string. | ||
*/ | ||
int resultlen; |
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