ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/interface_implementation/BASS_interface.cpp
(Generate patch)

Comparing:
branches/mmeineke/mdtools/interface_implementation/BASS_interface.cpp (file contents), Revision 10 by mmeineke, Tue Jul 9 18:40:59 2002 UTC vs.
trunk/mdtools/interface_implementation/BASS_interface.cpp (file contents), Revision 131 by chuckv, Wed Oct 9 22:29:40 2002 UTC

# Line 6 | Line 6
6   #include "Globals.hpp"
7   #include "BASS_interface.h"
8  
9 + #ifdef IS_MPI
10 + #include "mpiInterface.h"
11 + #endif
12  
13  
14   // Globals ************************************************
# Line 259 | Line 262 | void incr_block( block_type new_block ){
262    
263    if( block_stack_ptr >= MAX_NEST ){
264      fprintf( stderr, "Event blocks nested too deeply\n" );
265 + #ifdef IS_MPI
266 +    mpiInterfaceExit();
267 + #endif
268      exit(1);
269    }
270  
# Line 273 | Line 279 | void decr_block( void ){
279    if( block_stack_ptr < 0 ){
280      
281      fprintf( stderr, "Too many event blocks closed\n" );
282 + #ifdef IS_MPI
283 +    mpiInterfaceExit();
284 + #endif
285      exit(1);
286    }
287    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines