source: LMDZ6/branches/LMDZ-ECRAD/libf/phylmd/rrtm/abort_trans_mod.F90 @ 4109

Last change on this file since 4109 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 
1MODULE ABORT_TRANS_MOD
2CONTAINS
3SUBROUTINE ABORT_TRANS(CDTEXT)
4
5USE TPM_GEN  , ONLY : NOUT,NERR
6USE TPM_DISTR, ONLY : NPROC,MYPROC
7!USE MPL_MODULE, ONLY : MPL_ABORT   ! MPL 1.12.08
8USE SDL_MODULE, ONLY : SDL_TRACEBACK, SDL_SRLABORT
9
10IMPLICIT NONE
11
12
13CHARACTER(LEN=*),INTENT(IN) :: CDTEXT
14
15WRITE(NOUT,'(1X,A)') 'ABORT_TRANS CALLED'
16
17WRITE(NOUT,'(1X,A)') CDTEXT
18WRITE(NERR,'(1X,A,1X,I3,1X,A)') 'ABORT! ',MYPROC,CDTEXT
19CLOSE(NOUT)
20IF (NPROC > 1) THEN
21! CALL MPL_ABORT(CDTEXT)  ! MPL 1.12.08
22  CALL ABOR1('DANS ABORT_TRANS_MOD')
23ELSE
24  CALL SDL_TRACEBACK
25  CALL FLUSH(0)
26  CALL SDL_SRLABORT
27ENDIF
28
29END SUBROUTINE ABORT_TRANS
30END MODULE ABORT_TRANS_MOD
Note: See TracBrowser for help on using the repository browser.