Last change
on this file was
4728,
checked in by idelkadi, 12 months ago
|
Update of ecrad in the LMDZ_ECRad branch of LMDZ:
- version 1.6.1 of ecrad
- files are no longer grouped in the same ecrad directory.
- the structure of ecrad offline is preserved to facilitate updating in LMDZ
- cfg.bld modified to take into account the new added subdirectories.
- the interface routines and those added in ecrad are moved to the phylmd directory
|
File size:
872 bytes
|
Rev | Line | |
---|
[4728] | 1 | ! (C) Copyright 2014- ECMWF. |
---|
| 2 | ! |
---|
| 3 | ! This software is licensed under the terms of the Apache Licence Version 2.0 |
---|
| 4 | ! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. |
---|
| 5 | ! |
---|
| 6 | ! In applying this licence, ECMWF does not waive the privileges and immunities |
---|
| 7 | ! granted to it by virtue of its status as an intergovernmental organisation |
---|
| 8 | ! nor does it submit to any jurisdiction. |
---|
| 9 | |
---|
| 10 | SUBROUTINE ABOR1(CDTEXT) |
---|
| 11 | |
---|
| 12 | USE PARKIND1, ONLY : JPIM, JPRB |
---|
| 13 | USE YOMLUN_IFSAUX, ONLY : NULOUT, NULERR |
---|
| 14 | |
---|
| 15 | IMPLICIT NONE |
---|
| 16 | |
---|
| 17 | CHARACTER(LEN=*), INTENT(IN) :: CDTEXT |
---|
| 18 | |
---|
| 19 | IF (NULOUT >= 0) WRITE(NULOUT,'(1X,A)') CDTEXT |
---|
| 20 | IF (NULERR >= 0) WRITE(NULERR,'(1X,A,A)') 'ABORT! ', CDTEXT |
---|
| 21 | |
---|
| 22 | IF (NULOUT >= 0) THEN |
---|
| 23 | ! FLUSH not understood by NAG compiler |
---|
| 24 | !CALL FLUSH(NULOUT) |
---|
| 25 | IF (NULOUT /= 0 .and. NULOUT /= 6) CLOSE(NULOUT) |
---|
| 26 | ENDIF |
---|
| 27 | |
---|
| 28 | #ifdef __PGI |
---|
| 29 | stop 1 |
---|
| 30 | #else |
---|
| 31 | error stop 1 |
---|
| 32 | #endif |
---|
| 33 | |
---|
| 34 | END SUBROUTINE ABOR1 |
---|
Note: See
TracBrowser
for help on using the repository browser.