/[lmdze]/trunk/libf/dyn3d/abort_gcm.f90
ViewVC logotype

Annotation of /trunk/libf/dyn3d/abort_gcm.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18 - (hide annotations)
Thu Aug 7 12:29:13 2008 UTC (15 years, 9 months ago) by guez
File size: 798 byte(s)
In module "regr_pr", rewrote scanning of horizontal positions as a
single set of loops, using a mask.

Added some "intent" attributes.

In "dynredem0", replaced calls to Fortran 77 interface of NetCDF by
calls to NetCDF95. Removed calls to "nf_redef", regrouped all writing
operations. In "dynredem1", replaced some calls to Fortran 77
interface of NetCDF by calls to Fortran 90 interface.

Renamed variable "nqmax" to "nq_phys".

In "physiq", if "nq >= 5" then "wo" is computed from the
parameterization of "Cariolle".

1 guez 3 module abort_gcm_m
2    
3     implicit none
4    
5     contains
6    
7     SUBROUTINE abort_gcm(modname, message, ierr)
8    
9     ! From abort_gcm.F, version 1.1.1.1 2004/05/19 12:53:05
10    
11     ! Stops the simulation cleanly, closing files and printing various
12     ! comments
13    
14     ! Input: modname = name of calling program
15     ! message = stuff to print
16     ! ierr = severity of situation ( = 0 normal )
17    
18     USE IOIPSL, only: histclo
19    
20     character(len=*), intent(in):: modname
21     integer, intent(in):: ierr
22     character(len=*), intent(in):: message
23    
24     !-------------------
25    
26     print *, 'abort_gcm'
27    
28     call histclo
29 guez 12 print *, 'Stopping in ', modname
30 guez 18 print *, 'Reason: ', trim(message)
31 guez 12 print *, 'Houston, we have a problem ', ierr
32 guez 10 STOP 1
33 guez 3
34     END SUBROUTINE abort_gcm
35    
36     end module abort_gcm_m

  ViewVC Help
Powered by ViewVC 1.1.21