| # | Line 3 | Line 3 | |
|---|---|---|
| 3 | ||
| 4 | #define MAX_SIM_ERROR_MSG_LENGTH 2000 | |
| 5 | ||
| 6 | < | struct errorStruct { |
| 6 | > | typedef struct{ |
| 7 | char errMsg[MAX_SIM_ERROR_MSG_LENGTH]; | |
| 8 | int isFatal; | |
| 9 | ||
| # | Line 11 | Line 11 | struct errorStruct { | |
| 11 | int isEventLoop; | |
| 12 | #endif // IS_MPI | |
| 13 | ||
| 14 | < | } painCave; |
| 14 | > | } errorStruct; |
| 15 | ||
| 16 | + | extern errorStruct painCave; |
| 17 | ||
| 18 | #ifdef IS_MPI | |
| 19 | ||
| 20 | < | char checkPointMsg[MAX_SIM_ERROR_MSG_LENGTH]; |
| 20 | > | extern char checkPointMsg[MAX_SIM_ERROR_MSG_LENGTH]; |
| 21 | ||
| 22 | < | int worldRank; |
| 22 | > | extern int worldRank; |
| 23 | #endif | |
| 24 | ||
| 25 | #ifdef __cplusplus | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |