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/tracco2i_mod.F90

    r3453 r3531  
    161161    LOGICAL, PARAMETER :: readco2ff=.TRUE., readco2bb=.FALSE.
    162162
     163    CHARACTER (len = 20) :: modname = 'tracco2i.co2_emissions'
     164    CHARACTER (len = 80) :: abort_message
     165
    163166    IF (debutphy) THEN
    164167
     
    182185        n_glo = size(vector)
    183186        IF (n_glo.NE.klon_glo) THEN
    184            PRINT *,'sflx_lmdz_co2_ff: le nombre de points n est pas egal a klon_glo'
    185            STOP
     187           abort_message='sflx_lmdz_co2_ff: le nombre de points n est pas egal a klon_glo'
     188           CALL abort_physic(modname,abort_message,1)
    186189        ENDIF
    187190
     
    190193        n_month = size(time)
    191194        IF (n_month.NE.12) THEN
    192            PRINT *,'sflx_lmdz_co2_ff: le nombre de month n est pas egal a 12'
    193            STOP
     195           abort_message='sflx_lmdz_co2_ff: le nombre de month n est pas egal a 12'
     196           CALL abort_physic(modname,abort_message,1)
    194197        ENDIF
    195198
     
    214217      n_glo = size(vector)
    215218      IF (n_glo.NE.klon_glo) THEN
    216          PRINT *,'sflx_lmdz_co2_bb: le nombre de points n est pas egal a klon_glo'
    217          STOP
     219         abort_message='sflx_lmdz_co2_bb: le nombre de points n est pas egal a klon_glo'
     220         CALL abort_physic(modname,abort_message,1)
    218221      ENDIF
    219222
     
    222225      n_month = size(time)
    223226      IF (n_month.NE.12) THEN
    224          PRINT *,'sflx_lmdz_co2_bb: le nombre de month n est pas egal a 12'
    225          STOP
     227         abort_message='sflx_lmdz_co2_bb: le nombre de month n est pas egal a 12'
     228         CALL abort_physic(modname,abort_message,1)
    226229      ENDIF
    227230
Note: See TracChangeset for help on using the changeset viewer.