Changeset 4915 for CONFIG


Ignore:
Timestamp:
02/07/20 15:27:03 (4 years ago)
Author:
jgipsl
Message:

Updated configs v6.2 with option LMDZ_strataero. This option was before only available in v6.1 configurations. Set LMDZ_strataero=y in lmdz.card to activate. Note this option can not be used when ConfigType?=ESMCO2 or if INCA or Reprobus is activate.

Option iflag_phytrac is not set in lmdz.card anymore. The value of this parameter is deduced from the list of components (if INCA or Reprobus), ConfigType? or LMDZ_strataero options.

Location:
CONFIG/UNIFORM/v6
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/IPSLESM/AER/piControl_AER_TEST/COMP/lmdz.card

    r4636 r4915  
    33 
    44[UserChoices] 
    5 iflag_phytrac=1 
    6  
    75# Physics package to use : 
    86# LMDZ_Physics=AP for standard/old physics(defalut), can be used with LMDZ4_AR5 or LMDZ5/trunk sources 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/GENERAL/DRIVER/lmdz.driver

    r4795 r4915  
    412412        echo "Activate coupling to INCA, set type_trac=inca in run.def" 
    413413        IGCM_comp_modifyDefFile blocker run.def type_trac inca 
     414        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    414415    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    415416        echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
    416417        IGCM_comp_modifyDefFile blocker run.def type_trac repr 
    417418        IGCM_comp_modifyDefFile blocker run.def config_inca none 
     419        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    418420    elif [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then  
    419421        echo "ESM config, set type_trac=co2i in run.def" 
    420422        IGCM_comp_modifyDefFile blocker run.def type_trac co2i 
    421423        IGCM_comp_modifyDefFile blocker run.def config_inca none 
     424        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
     425    elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
     426        echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" 
     427        IGCM_comp_modifyDefFile blocker run.def type_trac coag 
     428        IGCM_comp_modifyDefFile blocker run.def config_inca none 
     429        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    422430    else 
    423431        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
    424432        IGCM_comp_modifyDefFile blocker run.def type_trac lmdz 
    425433        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    426     fi 
    427  
    428  
    429     # run.def : Activate the call to phytrac  
    430     if [ ! X${lmdz_UserChoices_iflag_phytrac} = X ]; then  
    431         IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac ${lmdz_UserChoices_iflag_phytrac} 
    432     elif [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
    433         IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    434     else 
    435         IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac DEFAULT 
    436     fi  
     434        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 0 
     435    fi 
    437436 
    438437    # run.def : Activate the new calving  
     
    535534        IGCM_comp_modifyDefFile nonblocker config.def carbon_cycle_tr DEFAULT 
    536535        IGCM_comp_modifyDefFile nonblocker config.def carbon_cycle_rad DEFAULT 
     536    fi 
     537 
     538    # config.def : Modify parameter ok_volcan if ok_volcan=y or LMDZ_strataero=y in lmdz.card 
     539    # Note: ok_volcan is a flag allowing a double-call with/without natural forcing (instead of with/without anthro forcing). 
     540    if [ ! X${lmdz_UserChoices_ok_volcan} = X ] || [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
     541        IGCM_comp_modifyDefFile nonblocker config.def ok_volcan ${lmdz_UserChoices_ok_volcan} 
     542    else 
     543        # Take default value set in config.def 
     544        IGCM_comp_modifyDefFile nonblocker config.def ok_volcan DEFAULT 
    537545    fi 
    538546 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/GENERAL/PARAM/run.def

    r4429 r4915  
    5555no_ter_antartique=y 
    5656### Do not call phytrac to speed things up 
    57 iflag_phytrac=_AUTO_: DEFAULT = 0 
     57iflag_phytrac=_AUTOBLOCKER_: DEFAULT = 0 
    5858### cpl_old_calving : use n for DYNAMICO and new coupling weight(MR025) 
    5959cpl_old_calving = _AUTO_ 
  • CONFIG/UNIFORM/v6/LMDZOR_v6.2/GENERAL/DRIVER/lmdz.driver

    r4798 r4915  
    412412        echo "Activate coupling to INCA, set type_trac=inca in run.def" 
    413413        IGCM_comp_modifyDefFile blocker run.def type_trac inca 
     414        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    414415    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    415416        echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
    416417        IGCM_comp_modifyDefFile blocker run.def type_trac repr 
    417418        IGCM_comp_modifyDefFile blocker run.def config_inca none 
     419        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    418420    elif [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then  
    419421        echo "ESM config, set type_trac=co2i in run.def" 
    420422        IGCM_comp_modifyDefFile blocker run.def type_trac co2i 
    421423        IGCM_comp_modifyDefFile blocker run.def config_inca none 
     424        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
     425    elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
     426        echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" 
     427        IGCM_comp_modifyDefFile blocker run.def type_trac coag 
     428        IGCM_comp_modifyDefFile blocker run.def config_inca none 
     429        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    422430    else 
    423431        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
    424432        IGCM_comp_modifyDefFile blocker run.def type_trac lmdz 
    425433        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    426     fi 
    427  
    428  
    429     # run.def : Activate the call to phytrac  
    430     if [ ! X${lmdz_UserChoices_iflag_phytrac} = X ]; then  
    431         IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac ${lmdz_UserChoices_iflag_phytrac} 
    432     elif [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
    433         IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    434     else 
    435         IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac DEFAULT 
    436     fi  
     434        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 0 
     435    fi 
    437436 
    438437    # run.def : Activate the new calving  
     
    535534        IGCM_comp_modifyDefFile nonblocker config.def carbon_cycle_tr DEFAULT 
    536535        IGCM_comp_modifyDefFile nonblocker config.def carbon_cycle_rad DEFAULT 
     536    fi 
     537 
     538    # config.def : Modify parameter ok_volcan if ok_volcan=y or LMDZ_strataero=y in lmdz.card 
     539    # Note: ok_volcan is a flag allowing a double-call with/without natural forcing (instead of with/without anthro forcing). 
     540    if [ ! X${lmdz_UserChoices_ok_volcan} = X ] || [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
     541        IGCM_comp_modifyDefFile nonblocker config.def ok_volcan ${lmdz_UserChoices_ok_volcan} 
     542    else 
     543        # Take default value set in config.def 
     544        IGCM_comp_modifyDefFile nonblocker config.def ok_volcan DEFAULT 
    537545    fi 
    538546 
  • CONFIG/UNIFORM/v6/LMDZOR_v6.2/GENERAL/PARAM/run.def

    r4431 r4915  
    5555no_ter_antartique=y 
    5656### Do not call phytrac to speed things up 
    57 iflag_phytrac=_AUTO_: DEFAULT = 0 
     57iflag_phytrac=_AUTOBLOCKER_: DEFAULT = 0 
    5858### cpl_old_calving : use n for DYNAMICO and new coupling weight(MR025) 
    5959cpl_old_calving = _AUTO_ 
Note: See TracChangeset for help on using the changeset viewer.