Ignore:
Timestamp:
04/20/23 16:27:03 (15 months ago)
Author:
aclsce
Message:

Updated IPSLCM7 configuration to be coherent with last changes in ICOLMDZOR* configurations.

Location:
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL
Files:
35 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/dynamico.driver

    r6362 r6417  
    2323    fi 
    2424 
     25 
     26    if [ -f ${SUBMIT_DIR}/../../../bin/inca_${OptMode}_${ConfChem}.dat ];  then  
     27        eval $(grep nbtrac ${SUBMIT_DIR}/../../../bin/inca_${OptMode}_${ConfChem}.dat) || nbtrac=1 
     28    else 
     29        nbtrac=1 
     30    fi 
     31    ((nbtrac=nbtrac+3)) 
     32 
     33 
    2534    if [ ! -f ${SUBMIT_DIR}/../../../modeles/DYNAMICO/xml/file_def_dynamico.xml ];  then  
    2635        module load python3 
     
    4352    fi 
    4453 
     54    # set number of tracer in run_dynamico.def  
     55    IGCM_comp_modifyDefFile nonblocker run_dynamico.def nqtot ${nbtrac} 
     56 
    4557    # Set lenght for execution  
    4658    IGCM_comp_modifyDefFile blocker run_dynamico.def run_length $(( ${PeriodLengthInDays} * 86400 )) 
     59 
     60    #  Activate nudging if ok_guide=y set in dynamico.card 
     61    if [  X${dynamico_UserChoices_ok_guide} = Xy ] ; then 
     62        IGCM_comp_modifyDefFile nonblocker run_dynamico.def guided_type  nudging 
     63    else 
     64        IGCM_comp_modifyDefFile nonblocker run_dynamico.def guided_type  none 
     65    fi 
    4766 
    4867    # Change run_dynamico.def according to UserChoices options set in dynmaico.card 
     
    86105    fi  
    87106 
     107 
    88108    # Add include of context xml files for DYNAMICO in iodef.xml 
    89109    # In iodef.xml add on the next line after "COMPONENT CONTEXT" 
     
    92112   # Add inclusion of file sponge_dynamico.xml if this file exists 
    93113   if [ -f sponge_dynamico.xml ] ; then 
    94         echo '<context id="icosagcm"        src="./sponge_dynamico.xml" />' >> add.tmp 
     114        echo '<context id="icosagcm"        src="./sponge_dynamico.xml" />' >> add.tmp 
    95115   fi 
    96116 
    97    # Add inclusion of file context_input_dynamico.xml if this file exists 
     117    # Add inclusion of file context_input_dynamico.xml if this file exists 
    98118    if [ -f context_input_dynamico.xml ] ; then 
    99119        echo '<context id="icosagcm_input" src="./context_input_dynamico.xml"/>' >> add.tmp 
    100120    fi 
     121 
     122    if [ -f tracers_dynamico.xml ] ; then 
     123        echo '<context id="icosagcm" src="./tracers_dynamico.xml" />'  >> add.tmp 
     124    fi 
     125 
     126    if [  X${dynamico_UserChoices_ok_guide} = Xy ] ; then 
     127        if [ -f nudging_dynamico.xml ] ; then 
     128            echo '<context id="icosagcm" src="./nudging_dynamico.xml" />'  >> add.tmp 
     129        else 
     130            IGCM_debug_Exit "you choose ok_guide=y and forget to add the copy of nudging_dynamico.xml file in dynamico.card" 
     131            IGCM_debug_Verif_Exit 
     132        fi 
     133    fi 
     134 
     135    if [ -f file_def_dynamico.xml ] ; then 
     136        echo '<context id="icosagcm" src="./file_def_dynamico.xml" />' >> add.tmp 
     137    fi  
     138 
    101139 
    102140    # Include xml files for output configuration if running with workflow CMIP6 
     
    124162    fi 
    125163 
     164    #remove unlimited time axis on winds files  
     165    if [ -f u.nc ] ; then  
     166        nccopy -u u.nc tmp.nc 
     167        mv tmp.nc u.nc 
     168    fi  
     169    if [ -f v.nc ] ; then  
     170        nccopy -u v.nc tmp.nc 
     171        mv tmp.nc v.nc 
     172    fi  
     173 
     174 
    126175    if [ X${config_ListOfComponents_CPL} = Xoasis ] ; then 
    127176    echo "Coupling mode using oasis, set using_oasis=y in run_dynamico.def" 
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/lmdz.driver

    r6346 r6417  
    3131        RESOL_ATM_Z=${dynamico_UserChoices_RESOL_ATM_Z} 
    3232        RESOL_NBP=${dynamico_UserChoices_RESOL_NBP} 
    33     RESOL_ATM="nbp${RESOL_NBP}" 
     33        RESOL_ATM="nbp${RESOL_NBP}" 
    3434    fi 
    3535 
     
    5757    ConfType=${lmdz_UserChoices_ConfType} 
    5858 
     59 
    5960    IGCM_debug_PopStack "ATM_Initialize" 
    6061} 
     
    202203 
    203204 
    204  
    205205    ## Activate diagnostic output files and set output_level for each file 
    206206 
     
    270270    # histdaystrataer 
    271271    if [ X${lmdz_UserChoices_output_level_histdaystrataer} = X ] || [ X${lmdz_UserChoices_output_level_histdaystrataer} = XNONE ] ; then 
    272         IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer enabled FALSE 
    273         IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer output_level 0 
    274     else 
    275         IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer enabled TRUE 
    276         IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer output_level ${lmdz_UserChoices_output_level_histstrataer} 
     272    IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer enabled FALSE 
     273    IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer output_level 0 
     274    else 
     275    IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer enabled TRUE 
     276    IGCM_comp_modifyXmlFile nonblocker file_def_histdaystrataer_lmdz.xml histdaystrataer output_level ${lmdz_UserChoices_output_level_histdaystrataer} 
    277277    fi 
    278278 
     
    321321 
    322322    ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 
     323 
    323324    if [ ${CumulPeriod} -eq 1 ] ; then 
    324325        IGCM_comp_modifyDefFile blocker run.def raz_date  1 
     
    359360        IGCM_comp_modifyDefFile blocker run.def anneeref ${InitYear} 
    360361    fi 
     362     
    361363 
    362364    ## Determine from the variable ListOfComponents in config.card coupling to external models  
     
    380382    fi 
    381383 
    382     if [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ; then 
    383     echo "ESM config, with INCA and CO2i, set type_trac=inco in run.def" 
    384     IGCM_comp_modifyDefFile blocker run.def type_trac inco 
    385     IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 
    386     elif [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
     384    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    387385        echo "Activate coupling to INCA, set type_trac=inca in run.def" 
    388386        IGCM_comp_modifyDefFile blocker run.def type_trac inca 
    389         IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 
     387        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    390388    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    391389        echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
    392390        IGCM_comp_modifyDefFile blocker run.def type_trac repr 
    393391        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    394         IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 
     392        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
    395393    elif [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then  
    396394        echo "ESM config, set type_trac=co2i in run.def" 
    397395        IGCM_comp_modifyDefFile blocker run.def type_trac co2i 
    398396        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    399         IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
     397        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1  
    400398    elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
    401399        echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" 
     
    403401        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    404402        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1   
     403    elif [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ; then 
     404        echo "ESM config, with INCA and CO2i, set type_trac=inco in run.def" 
     405        IGCM_comp_modifyDefFile blocker run.def type_trac inco 
     406        IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 
    405407    else 
    406408        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    534536        IGCM_comp_modifyDefFile nonblocker config.def ok_volcan DEFAULT 
    535537    fi 
     538 
    536539 
    537540    # physiq.def : Modify parameter tau_gl if it is set in lmdz.card 
     
    584587    fi 
    585588 
     589 
    586590    # Add include of LMDZ context in iodef.xml 
    587591    # In iodef.xml add on the next line after "COMPONENT CONTEXT" 
     
    613617        rm add.tmp 
    614618    fi 
     619             
    615620 
    616621    # Compression level (if CompressionLevel is not empty) 
     
    664669} 
    665670 
     671 
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/orchidee.driver

    r6296 r6417  
    4242        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_level 0 
    4343        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_freq 1mo 
    44  
    4544        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 enabled .FALSE. 
    4645        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level 0 
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/stomate.driver

    r5479 r6417  
    77{ 
    88    IGCM_debug_PushStack "SBG_Initialize" 
     9 
     10    # Define the resolution only if the composant ICO for DYNAMICO is set in config.card 
     11    if [ ! X${config_ListOfComponents_ICO} = X ] ; then 
     12    RESOL_SBG="nbp${RESOL_NBP}" 
     13    fi 
    914 
    1015    IGCM_debug_PopStack "SBG_Initialize" 
     
    3237        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_level ${stomate_UserChoices_output_level_stomate_history} 
    3338        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_freq  ${stomate_UserChoices_output_freq_stomate_history} 
     39        IGCM_comp_modifyXmlFile force      file_def_orchidee.xml groupremap_stomate1 group_ref remap_${stomate_UserChoices_output_freq_stomate_history} 
    3440    fi 
    3541     
     
    4450        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level ${stomate_UserChoices_output_level_stomate_ipcc_history} 
    4551        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_freq  ${stomate_UserChoices_output_freq_stomate_ipcc_history} 
     52        IGCM_comp_modifyXmlFile force      file_def_orchidee.xml groupremap_stomate2 group_ref remap_${stomate_UserChoices_output_freq_stomate_ipcc_history} 
    4653    fi 
    4754 
     
    5764        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level ${stomate_UserChoices_output_level_stomate_history_4dim} 
    5865        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq  ${stomate_UserChoices_output_freq_stomate_history_4dim} 
     66        IGCM_comp_modifyXmlFile force      file_def_orchidee.xml groupremap_stomate3 group_ref remap_${stomate_UserChoices_output_freq_stomate_history_4dim} 
     67    fi 
     68 
     69 
     70    if [ X${stomate_UserChoices_output_level_stomate_fixed_dia} = X ] || [ X${stomate_UserChoices_output_level_stomate_fixed_dia} = XNONE ] ; then 
     71        # output_level_stomate_fixed_dia is not set in stomate.card or it is set to NONE. 
     72        # Deactivate the file. 
     73        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate4 enabled .FALSE. 
     74        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate4 output_level 0 
     75        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate4 output_freq 1mo 
     76    else 
     77        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate4 enabled      .TRUE. 
     78        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate4 output_level ${stomate_UserChoices_output_level_stomate_fixed_dia} 
     79        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate4 output_freq  ${stomate_UserChoices_output_freq_stomate_fixed_dia} 
     80        IGCM_comp_modifyXmlFile force      file_def_orchidee.xml groupremap_stomate4 group_ref remap_${stomate_UserChoices_output_freq_stomate_history_fixed_dia} 
    5981    fi 
    6082 
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/PARAM/run.def

    r5479 r6417  
    77INCLUDEDEF=vert.def 
    88INCLUDEDEF=orchidee.def 
     9INCLUDEDEF=orchidee_pft.def 
    910INCLUDEDEF=config.def 
    1011INCLUDEDEF=reprobus.def 
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/PARAM/run_dynamico.def_nbp160

    r5479 r6417  
    11mpi_threading_mode=funneled 
     2 
     3guided_type = _AUTO_ 
    24# ------------------------------- Mesh --------------------------------- 
    35 
     
    4244# ---------------------------------- Misc -------------------------------- 
    4345# number of tracer (nqtot) : integer (default 1) 
    44 nqtot=4 
     46nqtot=_AUTO_: DEFAULT=4 
    4547 
    4648 
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/PARAM/run_dynamico.def_nbp40

    r5479 r6417  
     1metric_type = icosa_global 
     2 
     3#---------------- guided ---------------- 
     4#guided_type = none 
     5guided_type = _AUTO_ 
     6#nudging 
     7#frequence de lecture dans fichier forcage / coller a frequence du fichier par rapport à dt 
     8# toutes les 6h  
     9itau_nudging = 48 
     10 
     11nudging_zone = global 
     12 
     13 
     14#temps relaxation en secondes = force de rappel (voir dissip/nudging.f90)  >= dt 
     15U_relax_in=21600 
     16PS_relax_in=1e30 
     17T_relax_in=1e30 
     18Q_relax_in=1e30 
     19 
     20#guide_U = u, v  
     21guide_U=y 
     22 
     23# -------------------------------  --------------------------------- 
     24 
    125mpi_threading_mode=funneled 
    226# ------------------------------- Mesh --------------------------------- 
     
    4266# ---------------------------------- Misc -------------------------------- 
    4367# number of tracer (nqtot) : integer (default 1) 
    44 nqtot=4 
     68nqtot=_AUTO_: DEFAULT=4 
    4569 
    4670 
  • CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/PARAM/run_dynamico.def_nbp80

    r5479 r6417  
    11mpi_threading_mode=funneled 
     2 
     3guided_type = _AUTO_ 
    24# ------------------------------- Mesh --------------------------------- 
    35 
     
    4244# ---------------------------------- Misc -------------------------------- 
    4345# number of tracer (nqtot) : integer (default 1) 
    44 nqtot=4 
     46nqtot=_AUTO_: DEFAULT=4 
    4547 
    4648 
Note: See TracChangeset for help on using the changeset viewer.