Ignore:
Timestamp:
Jun 6, 2019, 5:08:45 PM (5 years ago)
Author:
Laurent Fairhead
Message:

Replaced STOP statements by a call to abort_physic in phylmd as per ticket #86
Still some work to be done in phylmd subdirectories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/phyaqua_mod.F90

    r3435 r3531  
    112112    REAL paire
    113113
     114    ! Local
     115    CHARACTER (LEN=20) :: modname='phyaqua'
     116    CHARACTER (LEN=80) :: abort_message
     117
    114118
    115119    ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    128132    IF (klon/=nlon) THEN
    129133      WRITE (*, *) 'iniaqua: klon=', klon, ' nlon=', nlon
    130       STOP 'probleme de dimensions dans iniaqua'
     134      abort_message= 'probleme de dimensions dans iniaqua'
     135      CALL abort_physic(modname,abort_message,1)
    131136    END IF
    132137    CALL phys_state_var_init(read_climoz)
     
    812817    PARAMETER (nlat_max=72)
    813818    REAL x_anom_sst(nlat_max)
    814 
    815     IF (klon/=nlon) STOP 'probleme de dimensions dans iniaqua'
     819    CHARACTER (LEN=20) :: modname='profil_sst'
     820    CHARACTER (LEN=80) :: abort_message
     821
     822    IF (klon/=nlon) THEN
     823       abort_message='probleme de dimensions dans profil_sst'
     824       CALL abort_physic(modname,abort_message,1)
     825    ENDIF
    816826    WRITE (*, *) ' profil_sst: type_profil=', type_profil
    817827    DO i = 1, 360
Note: See TracChangeset for help on using the changeset viewer.