--- trunk/mdtools/interface_implementation/BASS_interface.cpp 2002/09/25 22:51:14 118 +++ trunk/mdtools/interface_implementation/BASS_interface.cpp 2002/10/11 15:09:09 134 @@ -1,3 +1,4 @@ + #include #include #include @@ -6,6 +7,9 @@ #include "Globals.hpp" #include "BASS_interface.h" +#ifdef IS_MPI +#include "mpiInterface.h" +#endif // Globals ************************************************ @@ -259,7 +263,7 @@ void incr_block( block_type new_block ){ if( block_stack_ptr >= MAX_NEST ){ fprintf( stderr, "Event blocks nested too deeply\n" ); -#ifdef MPI +#ifdef IS_MPI mpiInterfaceExit(); #endif exit(1); @@ -276,7 +280,7 @@ void decr_block( void ){ if( block_stack_ptr < 0 ){ fprintf( stderr, "Too many event blocks closed\n" ); -#ifdef MPI +#ifdef IS_MPI mpiInterfaceExit(); #endif exit(1);