Last change
on this file since 4400 was
1990,
checked in by Laurent Fairhead, 11 years ago
|
Corrections à la version r1989 pour permettre la compilation avec RRTM
Inclusion de la licence CeCILL_V2 pour RRTM
Changes to revision r1989 to enable RRTM code compilation
RRTM part put under CeCILL_V2 licence
|
-
Property copyright set to
Name of program: LMDZ Creation date: 1984 Version: LMDZ5 License: CeCILL version 2 Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539 See the license file in the root directory
|
File size:
647 bytes
|
Line | |
---|
1 | MODULE ABORT_TRANS_MOD |
---|
2 | CONTAINS |
---|
3 | SUBROUTINE ABORT_TRANS(CDTEXT) |
---|
4 | |
---|
5 | USE TPM_GEN , ONLY : NOUT,NERR |
---|
6 | USE TPM_DISTR, ONLY : NPROC,MYPROC |
---|
7 | !USE MPL_MODULE, ONLY : MPL_ABORT ! MPL 1.12.08 |
---|
8 | USE SDL_MODULE, ONLY : SDL_TRACEBACK, SDL_SRLABORT |
---|
9 | |
---|
10 | IMPLICIT NONE |
---|
11 | |
---|
12 | |
---|
13 | CHARACTER(LEN=*),INTENT(IN) :: CDTEXT |
---|
14 | |
---|
15 | WRITE(NOUT,'(1X,A)') 'ABORT_TRANS CALLED' |
---|
16 | |
---|
17 | WRITE(NOUT,'(1X,A)') CDTEXT |
---|
18 | WRITE(NERR,'(1X,A,1X,I3,1X,A)') 'ABORT! ',MYPROC,CDTEXT |
---|
19 | CLOSE(NOUT) |
---|
20 | IF (NPROC > 1) THEN |
---|
21 | ! CALL MPL_ABORT(CDTEXT) ! MPL 1.12.08 |
---|
22 | CALL ABOR1('DANS ABORT_TRANS_MOD') |
---|
23 | ELSE |
---|
24 | CALL SDL_TRACEBACK |
---|
25 | CALL FLUSH(0) |
---|
26 | CALL SDL_SRLABORT |
---|
27 | ENDIF |
---|
28 | |
---|
29 | END SUBROUTINE ABORT_TRANS |
---|
30 | END MODULE ABORT_TRANS_MOD |
---|
Note: See
TracBrowser
for help on using the repository browser.