source: LMDZ5/trunk/libf/bibio/xerhlt.F @ 1793

Last change on this file since 1793 was 1425, checked in by lguez, 14 years ago

Replaced Numerical Recipes procedures for spline interpolation (not in
the public domain) by procedures from the Pchip package in the Slatec
library. This only affects the program "ce0l", not the program
"gcm". Tested on Brodie SX8 with "-debug" and "-prod", "-parallel
none" and "-parallel mpi". "start.nc" and "limit.nc" are
changed. "startphy.nc" is not changed. The relative change is of order
1e-7 or less. The revision makes the program faster (tested on Brodie
with "-prod -d 144x142x39", CPU time is 38 s, instead of 54
s). Procedures from Slatec are untouched, except for
"i1mach.F". Created procedures "pchfe_95" and "pchsp_95" which are
wrappers for "pchfe" and "pchsp" from Slatec. "pchfe_95" and
"pchsp_95" have a safer and simpler interface.

Replaced "make" by "sxgmake" in "arch-SX8_BRODIE.fcm". Added files for
compilation by FCM with "g95".

In "arch-linux-32bit.fcm", replaced "pgf90" by "pgf95". There was no
difference between "dev" and "debug" so added "-O1" to "dev". Added
debugging options. Removed "-Wl,-Bstatic
-L/usr/lib/gcc-lib/i386-linux/2.95.2", which usually produces an error
at link-time.

Bash is now ubiquitous while KornShell? is not so use Bash instead of
KornShell? in FCM.

Replaced some statements "write(6,*)" by "write(lunout,*)". Replaced
"stop" by "stop 1" in the case where "abort_gcm" is called with "ierr
/= 0". Removed "stop" statements at the end of procedures
"limit_netcdf" and main program "ce0l" (why not let the program end
normally?).

Made some arrays automatic instead of allocatable in "start_inter_3d".

Zeroed "wake_pe", "fm_therm", "entr_therm" and "detr_therm" in
"dyn3dpar/etat0_netcdf.F90". The parallel and sequential results of
"ce0l" are thus identical.

File size: 1.4 KB
Line 
1*DECK XERHLT
2      SUBROUTINE XERHLT (MESSG)
3C***BEGIN PROLOGUE  XERHLT
4C***SUBSIDIARY
5C***PURPOSE  Abort program execution and print error message.
6C***LIBRARY   SLATEC (XERROR)
7C***CATEGORY  R3C
8C***TYPE      ALL (XERHLT-A)
9C***KEYWORDS  ABORT PROGRAM EXECUTION, ERROR, XERROR
10C***AUTHOR  Jones, R. E., (SNLA)
11C***DESCRIPTION
12C
13C     Abstract
14C        ***Note*** machine dependent routine
15C        XERHLT aborts the execution of the program.
16C        The error message causing the abort is given in the calling
17C        sequence, in case one needs it for printing on a dayfile,
18C        for example.
19C
20C     Description of Parameters
21C        MESSG is as in XERMSG.
22C
23C***REFERENCES  R. E. Jones and D. K. Kahaner, XERROR, the SLATEC
24C                 Error-handling Package, SAND82-0800, Sandia
25C                 Laboratories, 1982.
26C***ROUTINES CALLED  (NONE)
27C***REVISION HISTORY  (YYMMDD)
28C   790801  DATE WRITTEN
29C   861211  REVISION DATE from Version 3.2
30C   891214  Prologue converted to Version 4.0 format.  (BAB)
31C   900206  Routine changed from user-callable to subsidiary.  (WRB)
32C   900510  Changed calling sequence to delete length of character
33C           and changed routine name from XERABT to XERHLT.  (RWC)
34C   920501  Reformatted the REFERENCES section.  (WRB)
35C***END PROLOGUE  XERHLT
36      CHARACTER*(*) MESSG
37C***FIRST EXECUTABLE STATEMENT  XERHLT
38      STOP
39      END
Note: See TracBrowser for help on using the repository browser.