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 134 by chuckv, Fri Oct 11 15:09:09 2002 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines