Ignore:
Timestamp:
Sep 21, 2021, 2:55:36 PM (3 years ago)
Author:
emillour
Message:

Common dynamics:
Check that there is indeed a run.def file to get options, flags, etc. from.
Stop if there isn't, as most likely the defaults won't do.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3d/gcm.F90

    r2507 r2564  
    137137  REAL :: heure
    138138  logical use_filtre_fft
     139  logical :: present
    139140
    140141!-----------------------------------------------------------------------
     
    151152
    152153!----------------------------------------------------------------------
    153 lecture des fichiers gcm.def ou run.def
     154Load flags and options from run.def
    154155!  ---------------------------------------
    155156!
     157! Start by checking that there indeed is a run.def file
     158  INQUIRE(file="run.def", EXIST=present)
     159  IF(.not. present) then
     160    CALL abort_gcm("gcm", "file run.def not found, Aborting!",1)
     161  ENDIF
     162
    156163  CALL conf_gcm( 99, .TRUE. )
    157164  if (mod(iphysiq, iperiod) /= 0) call abort_gcm("conf_gcm", &
Note: See TracChangeset for help on using the changeset viewer.