UPP  V11.0.0
 All Data Structures Files Functions Pages
WRF_STUBS.f
1 integer function wrf_sizeof_integer()
2  implicit none
3  integer i
4  wrf_sizeof_integer=storage_size(i)
5 end function wrf_sizeof_integer
6 
7 real function wrf_sizeof_real()
8  implicit none
9  real i
10  wrf_sizeof_real=storage_size(i)
11 end function wrf_sizeof_real
12 
13 subroutine wrf_debug(n,s)
14  implicit none
15  integer :: n
16  character*(*) :: s
17  if(n<2) print '(A)',trim(s)
18 end subroutine wrf_debug
19 
20 subroutine wrf_message(s)
21  implicit none
22  character*(*) :: s
23  print '(A)',trim(s)
24 end subroutine wrf_message
25 
26 subroutine wrf_error_fatal(s)
27  implicit none
28  use mpi
29  character*(*) :: s
30  integer :: i
31  write(0,'(A)') 'FATAL ERROR IN WRF DURING POST'
32  write(0,'(A)') 'wrf_error_fatal called with mesage:'
33  write(0,'(A)') trim(s)
34  call mpi_abort(mpi_comm_world,1,i)
35  stop 1
36 end subroutine wrf_error_fatal
37