# | Line 4 | Line 4 | |
---|---|---|
4 | ||
5 | #include "Globals.hpp" | |
6 | #include "simError.h" | |
7 | + | #ifdef IS_MPI |
8 | + | #include "mpiBASS.h" |
9 | + | #endif // is_mpi |
10 | ||
11 | /* | |
12 | * The following section lists all of the defined tokens for the | |
# | Line 798 | Line 801 | int Globals::hash( char* text ){ | |
801 | "There has been an overflow error in the Globals' hash key."); | |
802 | painCave.isFatal = 1; | |
803 | simError(); | |
804 | + | #ifdef IS_MPI |
805 | + | if( painCave.isEventLoop ){ |
806 | + | if( worldRank == 0 ) mpiInterfaceExit(); |
807 | + | } |
808 | + | #endif //is_mpi |
809 | } | |
810 | ||
811 | return key; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |