source: trunk/LMDZ.COMMON/libf/misc/xercnt.F @ 3452

Last change on this file since 3452 was 1391, checked in by emillour, 10 years ago

Common dynamical core:
Updates in the dynamics to keeup up with updates in LMDZ5
(up to LMDZ5 trunk rev 2200):

  • compilation:
  • create_make_gcm : added processing of .f & .f90 files (not just .F and .F90)
  • makelmdz: add "mix" option for -io (ouptut with both IOIPSL and XIOS)
  • makelmdz_fcm: add "mix" option for -io
  • filtrez:
  • acc.F and eigen.F : add "implicit none" and variable declarations
  • bibio:
  • handle_err_m.F90: replace "stop" with call to abort_gcm()
  • i1mach.F, j4save.F: add "implicit none" and variable declarations
  • xercnt.F, xermsg.F, xerprn.F, xersve.F, xgetua.F: add "implicit none" and variable declarations
  • dyn3d_common:
  • disvert.F90 : added comments on meaning of "pa" variable
  • grid_atob.F : better control on level of default ouputs
  • infotrac.F90: update Earth-specific stuff (nqo water tracers)
  • interpre.F: correction on the size of input array w
  • juldate.F, massbar.F, ppm3d.F, ran1.F: add "implicit none" and variable declarations
  • sortvarc.F: code cleanup
  • iniacademic.F90: cleanup and extra sanity check.
  • dyn3d:
  • abort_gcm.F: additions for XIOS
  • conf_gcm.F90: transformed to free form from conf_gcm.F
  • gcm.F: added test to check that iphysiq is a multiple of iperiod
  • getparam.F90, guidz_mod.F: update from LMDZ5
  • integrd.F: replace stop with call_abort()
  • dyn3dpar:
  • abort_gcm.F: minor cleanup
  • gcm.F: added test to check that iphysiq is a multiple of iperiod
  • getparam.F90, guide_p_mod.F90: update from LMDZ5
  • integrd_p.F: abort with call_abort when there is negative surface pressure
  • leapfrog_p.F: add INCA specific stuff to keep up with current LMDZ5
  • conf_gcm.F90: transformed to free form from conf_gcm.F

EM

File size: 2.5 KB
Line 
1*DECK XERCNT
2      SUBROUTINE XERCNT (LIBRAR, SUBROU, MESSG, NERR, LEVEL, KONTRL)
3      IMPLICIT NONE
4C***BEGIN PROLOGUE  XERCNT
5C***SUBSIDIARY
6C***PURPOSE  Allow user control over handling of errors.
7C***LIBRARY   SLATEC (XERROR)
8C***CATEGORY  R3C
9C***TYPE      ALL (XERCNT-A)
10C***KEYWORDS  ERROR, XERROR
11C***AUTHOR  Jones, R. E., (SNLA)
12C***DESCRIPTION
13C
14C     Abstract
15C        Allows user control over handling of individual errors.
16C        Just after each message is recorded, but before it is
17C        processed any further (i.e., before it is printed or
18C        a decision to abort is made), a call is made to XERCNT.
19C        If the user has provided his own version of XERCNT, he
20C        can then override the value of KONTROL used in processing
21C        this message by redefining its value.
22C        KONTRL may be set to any value from -2 to 2.
23C        The meanings for KONTRL are the same as in XSETF, except
24C        that the value of KONTRL changes only for this message.
25C        If KONTRL is set to a value outside the range from -2 to 2,
26C        it will be moved back into that range.
27C
28C     Description of Parameters
29C
30C      --Input--
31C        LIBRAR - the library that the routine is in.
32C        SUBROU - the subroutine that XERMSG is being called from
33C        MESSG  - the first 20 characters of the error message.
34C        NERR   - same as in the call to XERMSG.
35C        LEVEL  - same as in the call to XERMSG.
36C        KONTRL - the current value of the control flag as set
37C                 by a call to XSETF.
38C
39C      --Output--
40C        KONTRL - the new value of KONTRL.  If KONTRL is not
41C                 defined, it will remain at its original value.
42C                 This changed value of control affects only
43C                 the current occurrence of the current message.
44C
45C***REFERENCES  R. E. Jones and D. K. Kahaner, XERROR, the SLATEC
46C                 Error-handling Package, SAND82-0800, Sandia
47C                 Laboratories, 1982.
48C***ROUTINES CALLED  (NONE)
49C***REVISION HISTORY  (YYMMDD)
50C   790801  DATE WRITTEN
51C   861211  REVISION DATE from Version 3.2
52C   891214  Prologue converted to Version 4.0 format.  (BAB)
53C   900206  Routine changed from user-callable to subsidiary.  (WRB)
54C   900510  Changed calling sequence to include LIBRARY and SUBROUTINE
55C           names, changed routine name from XERCTL to XERCNT.  (RWC)
56C   920501  Reformatted the REFERENCES section.  (WRB)
57C***END PROLOGUE  XERCNT
58      CHARACTER*(*) LIBRAR, SUBROU, MESSG
59      INTEGER NERR, LEVEL, KONTRL
60C***FIRST EXECUTABLE STATEMENT  XERCNT
61      RETURN
62      END
Note: See TracBrowser for help on using the repository browser.