/[lmdze]/trunk/Sources/dyn3d/abort_gcm.f
ViewVC logotype

Diff of /trunk/Sources/dyn3d/abort_gcm.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 170 by guez, Wed Apr 29 15:47:56 2015 UTC revision 171 by guez, Tue Sep 29 19:48:59 2015 UTC
# Line 4  module abort_gcm_m Line 4  module abort_gcm_m
4    
5  contains  contains
6    
7    SUBROUTINE abort_gcm(modname, message, ierr)    SUBROUTINE abort_gcm(modname, message)
8    
9      ! From abort_gcm.F, version 1.1.1.1 2004/05/19 12:53:05      ! From abort_gcm.F, version 1.1.1.1 2004/05/19 12:53:05
10      ! Stops the simulation, closing files and printing comments.      ! Stops the simulation, closing files and printing comments.
# Line 12  contains Line 12  contains
12      USE histclo_m, only: histclo      USE histclo_m, only: histclo
13    
14      character(len=*), intent(in):: modname ! name of calling program      character(len=*), intent(in):: modname ! name of calling program
     integer, intent(in):: ierr ! severity of situation (= 0 normal)  
15      character(len=*), intent(in):: message ! to print      character(len=*), intent(in):: message ! to print
16    
17      !-------------------      !-------------------
# Line 21  contains Line 20  contains
20      call histclo      call histclo
21      print *, 'Stopping in ', modname      print *, 'Stopping in ', modname
22      print *, 'Reason: ', trim(message)      print *, 'Reason: ', trim(message)
23      print *, 'Houston, we have a problem ', ierr      print *, 'Houston, we have a problem.'
24      STOP 1      STOP 1
25    
26    END SUBROUTINE abort_gcm    END SUBROUTINE abort_gcm

Legend:
Removed from v.170  
changed lines
  Added in v.171

  ViewVC Help
Powered by ViewVC 1.1.21