Ignore:
Timestamp:
Oct 27, 2012, 4:23:07 PM (12 years ago)
Author:
Laurent Fairhead
Message:

Fin du phasage de la dynamique parallele localisee (petite memoire) avec le tronc LMDZ5 r1671
Il reste quelques routines a verifier (en particulier ce qui touche a l'etude des cas academiques)
et la validation a effectuer


End of the phasing of the localised (low memory) parallel dynamics package with the
LMDZ5 trunk (r1671)
Some routines still need some checking (in particular the academic cases) and some
validation is still required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3dmem/conf_gcm.F

    r1658 r1673  
    11!
    2 ! $Id: conf_gcm.F 1403 2010-07-01 09:02:53Z fairhead $
     2! $Id$
    33!
    44c
     
    1818      use parallel, ONLY : omp_chunk
    1919      USE control_mod
     20      USE infotrac, ONLY : type_trac
    2021      IMPLICIT NONE
    2122c-----------------------------------------------------------------------
     
    103104      CALL getin('lunout', lunout)
    104105      IF (lunout /= 5 .and. lunout /= 6) THEN
    105         OPEN(lunout,FILE='lmdz.out')
     106        OPEN(UNIT=lunout,FILE='lmdz.out_0000',ACTION='write',
     107     &          STATUS='unknown',FORM='formatted')
     108
    106109      ENDIF
    107110
     
    166169      CALL getin('nday',nday)
    167170
     171!Config  Key  = starttime
     172!Config  Desc = Heure de depart de la simulation
     173!Config  Def  = 0
     174!Config  Help = Heure de depart de la simulation
     175!Config         en jour
     176      starttime = 0
     177      CALL getin('starttime',starttime)
     178
    168179!Config  Key  = day_step
    169180!Config  Desc = nombre de pas par jour
     
    226237       CALL getin('output_grads_dyn',output_grads_dyn)
    227238
    228 !Config  Key  = idissip
     239!Config  Key  = dissip_period
    229240!Config  Desc = periode de la dissipation
    230 !Config  Def  = 10
     241!Config  Def  = 0
    231242!Config  Help = periode de la dissipation
    232 !Config         (en pas) ... a completer !
    233        idissip = 10
    234        CALL getin('idissip',idissip)
     243!Config  dissip_period=0 => la valeur sera calcule dans inidissip       
     244!Config  dissip_period>0 => on prend cette valeur
     245       dissip_period = 0
     246       CALL getin('dissip_period',dissip_period)
    235247
    236248ccc  ....   P. Le Van , modif le 29/04/97 .pour la dissipation  ...
     
    579591       offline = .FALSE.
    580592       CALL getin('offline',offline)
     593       IF (offline .AND. adjust) THEN
     594          WRITE(lunout,*)
     595     &         'WARNING : option offline does not work with adjust=y :'
     596          WRITE(lunout,*) 'the files defstoke.nc, fluxstoke.nc ',
     597     &         'and fluxstokev.nc will not be created'
     598          WRITE(lunout,*)
     599     &         'only the file phystoke.nc will still be created '
     600       END IF
     601       
     602!Config  Key  = type_trac
     603!Config  Desc = Choix de couplage avec model de chimie INCA ou REPROBUS
     604!Config  Def  = lmdz
     605!Config  Help =
     606!Config         'lmdz' = pas de couplage, pur LMDZ
     607!Config         'inca' = model de chime INCA
     608!Config         'repr' = model de chime REPROBUS
     609      type_trac = 'lmdz'
     610      CALL getin('type_trac',type_trac)
     611
    581612
    582613!Config  Key  = config_inca
     
    628659      write(lunout,*)' periodav = ', periodav
    629660      write(lunout,*)' output_grads_dyn = ', output_grads_dyn
    630       write(lunout,*)' idissip = ', idissip
     661      write(lunout,*)' dissip_period = ', dissip_period
    631662      write(lunout,*)' lstardis = ', lstardis
    632663      write(lunout,*)' nitergdiv = ', nitergdiv
     
    651682      write(lunout,*)' tauyy = ', tauyy
    652683      write(lunout,*)' offline = ', offline
     684      write(lunout,*)' type_trac = ', type_trac
    653685      write(lunout,*)' config_inca = ', config_inca
    654686      write(lunout,*)' ok_dynzon = ', ok_dynzon
     
    769801       offline = .FALSE.
    770802       CALL getin('offline',offline)
     803       IF (offline .AND. adjust) THEN
     804          WRITE(lunout,*)
     805     &         'WARNING : option offline does not work with adjust=y :'
     806          WRITE(lunout,*) 'the files defstoke.nc, fluxstoke.nc ',
     807     &         'and fluxstokev.nc will not be created'
     808          WRITE(lunout,*)
     809     &         'only the file phystoke.nc will still be created '
     810       END IF
     811
     812!Config  Key  = type_trac
     813!Config  Desc = Choix de couplage avec model de chimie INCA ou REPROBUS
     814!Config  Def  = lmdz
     815!Config  Help =
     816!Config         'lmdz' = pas de couplage, pur LMDZ
     817!Config         'inca' = model de chime INCA
     818!Config         'repr' = model de chime REPROBUS
     819      type_trac = 'lmdz'
     820      CALL getin('type_trac',type_trac)
    771821
    772822!Config  Key  = config_inca
     
    875925      CALL getin('ok_etat0',ok_etat0)
    876926
     927!Config  Key  = grilles_gcm_netcdf
     928!Config  Desc = creation de fichier grilles_gcm.nc dans create_etat0_limit
     929!Config  Def  = n
     930      grilles_gcm_netcdf = .FALSE.
     931      CALL getin('grilles_gcm_netcdf',grilles_gcm_netcdf)
     932
    877933      write(lunout,*)' #########################################'
    878934      write(lunout,*)' Configuration des parametres de cel0'
     
    889945      write(lunout,*)' periodav = ', periodav
    890946      write(lunout,*)' output_grads_dyn = ', output_grads_dyn
    891       write(lunout,*)' idissip = ', idissip
     947      write(lunout,*)' dissip_period = ', dissip_period
    892948      write(lunout,*)' lstardis = ', lstardis
    893949      write(lunout,*)' nitergdiv = ', nitergdiv
     
    912968      write(lunout,*)' tauy = ', tauy
    913969      write(lunout,*)' offline = ', offline
     970      write(lunout,*)' type_trac = ', type_trac
    914971      write(lunout,*)' config_inca = ', config_inca
    915972      write(lunout,*)' ok_dynzon = ', ok_dynzon
     
    923980      write(lunout,*)' ok_limit = ', ok_limit
    924981      write(lunout,*)' ok_etat0 = ', ok_etat0
     982      write(lunout,*)' grilles_gcm_netcdf = ', grilles_gcm_netcdf
    925983c
    926984      RETURN
Note: See TracChangeset for help on using the changeset viewer.