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