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