--- trunk/mdtools/interface_implementation/Globals.cpp 2002/10/30 22:38:22 160 +++ trunk/mdtools/interface_implementation/Globals.cpp 2002/11/11 17:25:15 173 @@ -798,6 +798,11 @@ int Globals::hash( char* text ){ "There has been an overflow error in the Globals' hash key."); painCave.isFatal = 1; simError(); +#ifdef IS_MPI + if( painCave.isEventLoop ){ + if( worldRank == 0 ) mpiInterfaceExit(); + } +#endif //is_mpi } return key;