Ignore:
Timestamp:
Mar 10, 2023, 5:55:53 PM (19 months ago)
Author:
Laurent Fairhead
Message:

Replaced STOP instructions by calls to abort_gcm for a cleaner exit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3d/conf_gcm.F90

    r4358 r4470  
    415415        write(lunout,*)'conf_gcm: La valeur de clat passee par run.def', &
    416416             ' est differente de celle lue sur le fichier  start '
    417         STOP
     417        CALL abort_gcm("conf_gcm","stopped",1)
    418418     ENDIF
    419419
     
    429429        write(lunout,*)'conf_gcm: La valeur de grossismx passee par ', &
    430430             'run.def est differente de celle lue sur le fichier  start '
    431         STOP
     431        CALL abort_gcm("conf_gcm","stopped",1)
    432432     ENDIF
    433433
     
    443443        write(lunout,*)'conf_gcm: La valeur de grossismy passee par ', &
    444444             'run.def est differente de celle lue sur le fichier  start '
    445         STOP
     445        CALL abort_gcm("conf_gcm","stopped",1)
    446446     ENDIF
    447447
     
    449449        write(lunout,*) &
    450450             'conf_gcm: ***  ATTENTION !! grossismx < 1 .   *** '
    451         STOP
     451        CALL abort_gcm("conf_gcm","stopped",1)
    452452     ELSE
    453453        alphax = 1. - 1./ grossismx
     
    457457        write(lunout,*) &
    458458             'conf_gcm: ***  ATTENTION !! grossismy < 1 .   *** '
    459         STOP
     459        CALL abort_gcm("conf_gcm","stopped",1)
    460460     ELSE
    461461        alphay = 1. - 1./ grossismy
     
    479479           write(lunout,*)' *** fxyhypb lu sur le fichier start est ', &
    480480                'F alors  qu il est  T  sur  run.def  ***'
    481            STOP
     481           CALL abort_gcm("conf_gcm","stopped",1)
    482482        ENDIF
    483483     ELSE
     
    486486           write(lunout,*)' ***  fxyhypb lu sur le fichier start est ', &
    487487                'T alors  qu il est  F  sur  run.def  ****  '
    488            STOP
     488           CALL abort_gcm("conf_gcm","stopped",1)
    489489        ENDIF
    490490     ENDIF
     
    502502           write(lunout,*)'conf_gcm: La valeur de dzoomx passee par ', &
    503503                'run.def est differente de celle lue sur le fichier  start '
    504            STOP
     504           CALL abort_gcm("conf_gcm","stopped",1)
    505505        ENDIF
    506506     ENDIF
     
    518518           write(lunout,*)'conf_gcm: La valeur de dzoomy passee par ', &
    519519                'run.def est differente de celle lue sur le fichier  start '
    520            STOP
     520           CALL abort_gcm("conf_gcm","stopped",1)
    521521        ENDIF
    522522     ENDIF
     
    533533           write(lunout,*)'conf_gcm: La valeur de taux passee par ', &
    534534                'run.def est differente de celle lue sur le fichier  start '
    535            STOP
     535           CALL abort_gcm("conf_gcm","stopped",1)
    536536        ENDIF
    537537     ENDIF
     
    548548           write(lunout,*)'conf_gcm: La valeur de tauy passee par ', &
    549549                'run.def est differente de celle lue sur le fichier  start '
    550            STOP
     550           CALL abort_gcm("conf_gcm","stopped",1)
    551551        ENDIF
    552552     ENDIF
     
    569569              write(lunout,*)' *** ysinus lu sur le fichier start est F', &
    570570                   ' alors  qu il est  T  sur  run.def  ***'
    571               STOP
     571              CALL abort_gcm("conf_gcm","stopped",1)
    572572           ENDIF
    573573        ELSE
     
    576576              write(lunout,*)' *** ysinus lu sur le fichier start est T', &
    577577                   ' alors  qu il est  F  sur  run.def  ****  '
    578               STOP
     578              CALL abort_gcm("conf_gcm","stopped",1)
    579579           ENDIF
    580580        ENDIF
     
    701701        write(lunout,*) &
    702702             'conf_gcm: ***  ATTENTION !! grossismx < 1 .   *** '
    703         STOP
     703        CALL abort_gcm("conf_gcm","stopped",1)
    704704     ELSE
    705705        alphax = 1. - 1./ grossismx
     
    708708     IF( grossismy.LT.1. )  THEN
    709709        write(lunout,*) 'conf_gcm: ***ATTENTION !! grossismy < 1 . *** '
    710         STOP
     710        CALL abort_gcm("conf_gcm","stopped",1)
    711711     ELSE
    712712        alphay = 1. - 1./ grossismy
Note: See TracChangeset for help on using the changeset viewer.