1 SUBROUTINE GLOB_ABORT(ie,s,rc)
2 #if defined( DM_PARALLEL )
9 3038 format("GLOB_ABORT: ",A," ie,rc:",I0," ",I0)
10 write(message,3038) trim(s),ie,rc
13 call wrf_message(message)
15 call wrf_error_fatal(message)
17 ! write(0,*) 'GLOB_ABORT: '//s//' ie,rc:',ie,rc
19 ! CALL MPI_ABORT(MPI_COMM_WORLD,rc,ierr)
25 #ifdef PRETEND_WRF_FOR_DMITRY
26 ! For Dmitry's sake for testing this code outside of WRF, these are
27 ! implementations of the WRF_MESSAGE and WRF_ERROR_FATAL functions.
29 subroutine WRF_MESSAGE(s)
32 end subroutine WRF_MESSAGE
34 subroutine WRF_ERROR_FATAL(s)
39 CALL MPI_ABORT(MPI_COMM_WORLD,rc,ierr)
40 end subroutine WRF_ERROR_FATAL
43 !***********************************************************************