| # | Line 3 | Line 3 | |
|---|---|---|
| 3 | ||
| 4 | #define MAX_SIM_ERROR_MSG_LENGTH 2000 | |
| 5 | ||
| 6 | + | #define TESTWRITE 2 |
| 7 | + | |
| 8 | struct errorStruct { | |
| 9 | char errMsg[MAX_SIM_ERROR_MSG_LENGTH]; | |
| 10 | int isFatal; | |
| # | Line 13 | Line 15 | struct errorStruct { | |
| 15 | ||
| 16 | } painCave; | |
| 17 | ||
| 18 | + | #ifdef IS_MPI |
| 19 | + | char checkPointMsg[MAX_SIM_ERROR_MSG_LENGTH]; |
| 20 | + | |
| 21 | + | int worldRank; |
| 22 | + | #endif |
| 23 | + | |
| 24 | #ifdef __cplusplus | |
| 25 | extern "C" { | |
| 26 | #endif // __cplusplus | |
| # | Line 24 | Line 32 | extern "C" { | |
| 32 | ||
| 33 | #ifdef IS_MPI | |
| 34 | ||
| 35 | < | void checkMPIError( void ); |
| 35 | > | void MPIcheckPoint( void ); |
| 36 | ||
| 37 | #endif // IS_MPI | |
| 38 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |