Changeset 6417 for CONFIG/UNIFORM/v7/IPSLCM7/GENERAL
- Timestamp:
- 04/20/23 16:27:03 (15 months ago)
- 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 23 23 fi 24 24 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 25 34 if [ ! -f ${SUBMIT_DIR}/../../../modeles/DYNAMICO/xml/file_def_dynamico.xml ]; then 26 35 module load python3 … … 43 52 fi 44 53 54 # set number of tracer in run_dynamico.def 55 IGCM_comp_modifyDefFile nonblocker run_dynamico.def nqtot ${nbtrac} 56 45 57 # Set lenght for execution 46 58 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 47 66 48 67 # Change run_dynamico.def according to UserChoices options set in dynmaico.card … … 86 105 fi 87 106 107 88 108 # Add include of context xml files for DYNAMICO in iodef.xml 89 109 # In iodef.xml add on the next line after "COMPONENT CONTEXT" … … 92 112 # Add inclusion of file sponge_dynamico.xml if this file exists 93 113 if [ -f sponge_dynamico.xml ] ; then 94 114 echo '<context id="icosagcm" src="./sponge_dynamico.xml" />' >> add.tmp 95 115 fi 96 116 97 # Add inclusion of file context_input_dynamico.xml if this file exists117 # Add inclusion of file context_input_dynamico.xml if this file exists 98 118 if [ -f context_input_dynamico.xml ] ; then 99 119 echo '<context id="icosagcm_input" src="./context_input_dynamico.xml"/>' >> add.tmp 100 120 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 101 139 102 140 # Include xml files for output configuration if running with workflow CMIP6 … … 124 162 fi 125 163 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 126 175 if [ X${config_ListOfComponents_CPL} = Xoasis ] ; then 127 176 echo "Coupling mode using oasis, set using_oasis=y in run_dynamico.def" -
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/lmdz.driver
r6346 r6417 31 31 RESOL_ATM_Z=${dynamico_UserChoices_RESOL_ATM_Z} 32 32 RESOL_NBP=${dynamico_UserChoices_RESOL_NBP} 33 33 RESOL_ATM="nbp${RESOL_NBP}" 34 34 fi 35 35 … … 57 57 ConfType=${lmdz_UserChoices_ConfType} 58 58 59 59 60 IGCM_debug_PopStack "ATM_Initialize" 60 61 } … … 202 203 203 204 204 205 205 ## Activate diagnostic output files and set output_level for each file 206 206 … … 270 270 # histdaystrataer 271 271 if [ X${lmdz_UserChoices_output_level_histdaystrataer} = X ] || [ X${lmdz_UserChoices_output_level_histdaystrataer} = XNONE ] ; then 272 273 274 else 275 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} 277 277 fi 278 278 … … 321 321 322 322 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 323 323 324 if [ ${CumulPeriod} -eq 1 ] ; then 324 325 IGCM_comp_modifyDefFile blocker run.def raz_date 1 … … 359 360 IGCM_comp_modifyDefFile blocker run.def anneeref ${InitYear} 360 361 fi 362 361 363 362 364 ## Determine from the variable ListOfComponents in config.card coupling to external models … … 380 382 fi 381 383 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 387 385 echo "Activate coupling to INCA, set type_trac=inca in run.def" 388 386 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 390 388 elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 391 389 echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 392 390 IGCM_comp_modifyDefFile blocker run.def type_trac repr 393 391 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 395 393 elif [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 396 394 echo "ESM config, set type_trac=co2i in run.def" 397 395 IGCM_comp_modifyDefFile blocker run.def type_trac co2i 398 396 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 400 398 elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 401 399 echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" … … 403 401 IGCM_comp_modifyDefFile blocker run.def config_inca none 404 402 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 405 407 else 406 408 echo "No coupling to chemistry model, set type_trac=lmdz in run.def" … … 534 536 IGCM_comp_modifyDefFile nonblocker config.def ok_volcan DEFAULT 535 537 fi 538 536 539 537 540 # physiq.def : Modify parameter tau_gl if it is set in lmdz.card … … 584 587 fi 585 588 589 586 590 # Add include of LMDZ context in iodef.xml 587 591 # In iodef.xml add on the next line after "COMPONENT CONTEXT" … … 613 617 rm add.tmp 614 618 fi 619 615 620 616 621 # Compression level (if CompressionLevel is not empty) … … 664 669 } 665 670 671 -
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/orchidee.driver
r6296 r6417 42 42 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_level 0 43 43 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_freq 1mo 44 45 44 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 enabled .FALSE. 46 45 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level 0 -
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/DRIVER/stomate.driver
r5479 r6417 7 7 { 8 8 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 9 14 10 15 IGCM_debug_PopStack "SBG_Initialize" … … 32 37 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate1 output_level ${stomate_UserChoices_output_level_stomate_history} 33 38 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} 34 40 fi 35 41 … … 44 50 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level ${stomate_UserChoices_output_level_stomate_ipcc_history} 45 51 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} 46 53 fi 47 54 … … 57 64 IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level ${stomate_UserChoices_output_level_stomate_history_4dim} 58 65 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} 59 81 fi 60 82 -
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/PARAM/run.def
r5479 r6417 7 7 INCLUDEDEF=vert.def 8 8 INCLUDEDEF=orchidee.def 9 INCLUDEDEF=orchidee_pft.def 9 10 INCLUDEDEF=config.def 10 11 INCLUDEDEF=reprobus.def -
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/PARAM/run_dynamico.def_nbp160
r5479 r6417 1 1 mpi_threading_mode=funneled 2 3 guided_type = _AUTO_ 2 4 # ------------------------------- Mesh --------------------------------- 3 5 … … 42 44 # ---------------------------------- Misc -------------------------------- 43 45 # number of tracer (nqtot) : integer (default 1) 44 nqtot= 446 nqtot=_AUTO_: DEFAULT=4 45 47 46 48 -
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/PARAM/run_dynamico.def_nbp40
r5479 r6417 1 metric_type = icosa_global 2 3 #---------------- guided ---------------- 4 #guided_type = none 5 guided_type = _AUTO_ 6 #nudging 7 #frequence de lecture dans fichier forcage / coller a frequence du fichier par rapport à dt 8 # toutes les 6h 9 itau_nudging = 48 10 11 nudging_zone = global 12 13 14 #temps relaxation en secondes = force de rappel (voir dissip/nudging.f90) >= dt 15 U_relax_in=21600 16 PS_relax_in=1e30 17 T_relax_in=1e30 18 Q_relax_in=1e30 19 20 #guide_U = u, v 21 guide_U=y 22 23 # ------------------------------- --------------------------------- 24 1 25 mpi_threading_mode=funneled 2 26 # ------------------------------- Mesh --------------------------------- … … 42 66 # ---------------------------------- Misc -------------------------------- 43 67 # number of tracer (nqtot) : integer (default 1) 44 nqtot= 468 nqtot=_AUTO_: DEFAULT=4 45 69 46 70 -
CONFIG/UNIFORM/v7/IPSLCM7/GENERAL/PARAM/run_dynamico.def_nbp80
r5479 r6417 1 1 mpi_threading_mode=funneled 2 3 guided_type = _AUTO_ 2 4 # ------------------------------- Mesh --------------------------------- 3 5 … … 42 44 # ---------------------------------- Misc -------------------------------- 43 45 # number of tracer (nqtot) : integer (default 1) 44 nqtot= 446 nqtot=_AUTO_: DEFAULT=4 45 47 46 48
Note: See TracChangeset
for help on using the changeset viewer.