| 4 | 
  | 
 | 
| 5 | 
  | 
#include "interface.h" | 
| 6 | 
  | 
#include "../headers/BASS_interface.h" | 
| 7 | 
+ | 
#include "../headers/simError.h" | 
| 8 | 
  | 
#ifdef IS_MPI | 
| 9 | 
< | 
#include "../headers/mpiInterface.h" | 
| 9 | 
> | 
#include "../headers/mpiBASS.h" | 
| 10 | 
  | 
#endif | 
| 11 | 
  | 
 | 
| 12 | 
  | 
void interface_error( event* the_event ); | 
| 253 | 
  | 
 | 
| 254 | 
  | 
void interface_error( event* the_event ){ | 
| 255 | 
  | 
 | 
| 256 | 
< | 
  fprintf( stderr, | 
| 256 | 
> | 
  sprintf( painCave.errMsg, | 
| 257 | 
  | 
           "**Interface event error**\n" | 
| 258 | 
  | 
           "%s\n", | 
| 259 | 
  | 
           the_event->err_msg ); | 
| 260 | 
< | 
  exit(1); | 
| 260 | 
> | 
  painCave.isFatal = 1; | 
| 261 | 
> | 
  simError(); | 
| 262 | 
> | 
#ifdef IS_MPI | 
| 263 | 
> | 
  mpiInterfaceExit(); | 
| 264 | 
> | 
#endif //IS_MPI | 
| 265 | 
  | 
} |