- Timestamp:
- 07/26/22 14:01:16 (2 years ago)
- Location:
- CONFIG/UNIFORM/v7/ICOLMDZORINCA_v7
- Files:
-
- 20 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/ICOLMDZORINCA_v7/GENERAL/DRIVER/inca.driver
r5904 r6209 346 346 fi 347 347 348 # inca.def : choose if we read input file with xios or netcdf 349 if [ ! X${inca_UserChoices_xios_read} = X ] ; then 350 IGCM_comp_modifyDefFile nonblocker inca.def xios_read ${inca_UserChoices_xios_read} 351 else 352 IGCM_comp_modifyDefFile nonblocker inca.def xios_read y 353 fi 354 348 355 # inca.def : Activate reading of 10m wind in files if LMDZ_10m_winds=n in inca.card 349 356 if [ ! X${inca_UserChoices_LMDZ_10m_winds} = X ] ; then … … 435 442 if [ -f context_input_inca.xml ] ; then 436 443 echo '<context id="inca" src="./context_input_inca.xml"/>' >> add.tmp 437 echo '<context id="inca" src="./context_start_inca.xml"/>' >> add.tmp 444 fi 445 if [ -f context_sflx_inca.xml ] ; then 438 446 echo '<context id="inca" src="./context_sflx_inca.xml"/>' >> add.tmp 447 fi 448 if [ -f context_co2_inca.xml ] ; then 449 echo '<context id="inca" src="./context_co2_inca.xml"/>' >> add.tmp 450 fi 451 if [ -f context_oxydants_inca.xml ] ; then 439 452 echo '<context id="inca" src="./context_oxydants_inca.xml"/>' >> add.tmp 440 if [ X${CHEM} = XGES ] ; then 441 echo '<context id="inca" src="./context_co2_bis_inca.xml"/>' >> add.tmp 442 fi 443 444 fi 453 fi 454 if [ -f context_start_inca.xml ] ; then 455 if [ -f chem_start.nc ] ; then 456 echo '<context id="inca" src="./context_start_inca.xml"/>' >> add.tmp 457 fi 458 fi 459 if [ -f context_dust_inca.xml ] ; then 460 echo '<context id="inca" src="./context_dust_inca.xml"/>' >> add.tmp 461 fi 462 if [ -f context_winds_inca.xml ] ; then 463 echo '<context id="inca" src="./context_winds_inca.xml"/>' >> add.tmp 464 fi 465 466 if [ -f context_sad_inca.xml ] ; then 467 echo '<context id="inca" src="./context_sad_inca.xml"/>' >> add.tmp 468 fi 469 470 445 471 cp iodef.xml iodef.xml.tmp 446 472 sed -e "/COMPONENT CONTEXT/r add.tmp" \ … … 471 497 nccopy -u oxydants.nc tmp.nc 472 498 mv tmp.nc oxydants.nc 473 499 nccopy -u sflx_ANT_LR.nc tmp.nc 500 mv tmp.nc sflx_ANT_LR.nc 501 nccopy -u sflx_BBG_LR.nc tmp.nc 502 mv tmp.nc sflx_BBG_LR.nc 503 nccopy -u sflx_GHG_LR.nc tmp.nc 504 mv tmp.nc sflx_GHG_LR.nc 505 nccopy -u sflx_NAT_LR.nc tmp.nc 506 mv tmp.nc sflx_NAT_LR.nc 507 nccopy -u sflx_MISC_LR.nc tmp.nc 508 mv tmp.nc sflx_MISC_LR.nc 509 nccopy -u sad.nc tmp.nc 510 mv tmp.nc sad.nc 474 511 475 512 -
CONFIG/UNIFORM/v7/ICOLMDZORINCA_v7/GENERAL/DRIVER/lmdz.driver
r6014 r6209 383 383 if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 384 384 echo "Activate coupling to INCA, set type_trac=inca in run.def" 385 IGCM_comp_modifyDefFile blocker run.def type_trac inca385 IGCM_comp_modifyDefFile blocker run.def type_trac "lmdz|inca" 386 386 IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 387 387 elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 388 388 echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 389 IGCM_comp_modifyDefFile blocker run.def type_trac repr389 IGCM_comp_modifyDefFile blocker run.def type_trac "lmdz|repr" 390 390 IGCM_comp_modifyDefFile blocker run.def config_inca none 391 391 IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 392 392 elif [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 393 393 echo "ESM config, set type_trac=co2i in run.def" 394 IGCM_comp_modifyDefFile blocker run.def type_trac co2i394 IGCM_comp_modifyDefFile blocker run.def type_trac "lmdz|co2i" 395 395 IGCM_comp_modifyDefFile blocker run.def config_inca none 396 396 IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 397 397 elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 398 398 echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" 399 IGCM_comp_modifyDefFile blocker run.def type_trac coag399 IGCM_comp_modifyDefFile blocker run.def type_trac "lmdz|coag" 400 400 IGCM_comp_modifyDefFile blocker run.def config_inca none 401 401 IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 -
CONFIG/UNIFORM/v7/ICOLMDZORINCA_v7/GENERAL/PARAM/inca.def
r5903 r6209 4 4 #choose if we regrid or not output files on regular grid if we are running with ICO grid 5 5 xios_remap_output=_AUTO_: DEFAULT=y 6 #choose if we read input file with xios or not (mandatory for unstructured grid) 7 xios_read=_AUTO_:DEFAULT=y 6 8 #LMDZ_10m_winds=y --> use 10m wind from LMDZ, =n --> use 10m wind from output file 7 9 LMDZ_10m_winds=_AUTO_ -
CONFIG/UNIFORM/v7/ICOLMDZORINCA_v7/GENERAL/PARAM/nudging_dynamico.xml
r6060 r6209 4 4 <!-- =========================================================================================================== --> 5 5 <context id="icosagcm" > 6 7 8 <!-- output forcing field for nudging --> 9 10 <file_definition> 11 12 <file id="nudging_forcing" enabled="false" output_freq="3h" > 13 <field_group operation="instant" domain_ref="domain_forcing" freq_offset="0ts"> 14 <field field_ref="ulon_forcing" name="u"/> 15 <field field_ref="ulat_forcing" name="v"/> 16 <field field_ref="temp_forcing" name="t"/> 17 <field field_ref="ps_forcing" name="sp" /> 18 <field field_ref="p_forcing" name="pressure"/> 19 <field field_ref="H2O-g_forcing" name="q"/> 20 <field field_ref="H2O-l_forcing" name="clwc"/> 21 <field field_ref="H2O-s_forcing" name="ciwc"/> 22 </field_group> 23 </file > 24 25 </file_definition> 26 27 <field_definition> 28 29 <field_group domain_ref="i"> 30 <field id="ulon_forcing" axis_ref="lev"/> 31 <field id="ulat_forcing" axis_ref="lev"/> 32 <field id="temp_forcing" axis_ref="lev"/> 33 <field id="ps_forcing" /> 34 <field id="p_forcing" axis_ref="lev"/> 35 <field id="H2O-g_forcing" axis_ref="lev"/> 36 <field id="H2O-l_forcing" axis_ref="lev"/> 37 <field id="H2O-s_forcing" axis_ref="lev"/> 38 </field_group> 39 40 </field_definition> 41 42 <domain_definition> 43 <domain id="domain_forcing" type="rectilinear" > 44 <generate_rectilinear_domain id="nudging_zone" /> 45 <interpolate_domain order="2"/> 46 </domain> 47 </domain_definition> 48 49 50 51 52 <!-- =========================================================================================================== --> 53 <!-- nudging configuration --> 6 54 7 55 <file_definition> … … 25 73 26 74 27 <file id="nudging_in" name=" ERA5" enabled="false" output_freq="1h" mode="read" record_offset="1" time_counter_name="time">75 <file id="nudging_in" name="nudging_forcing" enabled="false" output_freq="1h" mode="read" record_offset="1" time_counter_name="time" cyclic="true"> 28 76 <field_group operation="instant" freq_offset="1ts" > 29 77 <field id="ps_nudged_read" name="sp" domain_ref="domain_nudged" /> 78 <field id="p_nudged_read" name="pressure" domain_ref="domain_nudged" axis_ref="axis_nudged" enabled="false" /> 30 79 <!-- 31 80 <field id="ulon_nudged_read" name="u" domain_ref="domain_nudged" axis_ref="axis_nudged" /> … … 40 89 </file> 41 90 42 <file id="nudging_in0" name=" ERA5" enabled="false" output_freq="1000y" mode="read" record_offset="0" time_counter_name="time">91 <file id="nudging_in0" name="nudging_forcing" enabled="false" output_freq="1000y" mode="read" record_offset="0" time_counter_name="time"> 43 92 <field_group operation="once" freq_offset="1ts" > 44 93 <field id="ps_nudged_read0" name="sp" domain_ref="domain_nudged" /> 94 <field id="p_nudged_read0" name="pressure" domain_ref="domain_nudged" axis_ref="axis_nudged" enabled="false"/> 45 95 <!-- 46 96 <field id="ulon_nudged_read0" name="u" domain_ref="domain_nudged" axis_ref="axis_nudged" /> … … 165 215 </axis> 166 216 217 <axis id="nudged_vert_interp_src_dest0" axis_ref="lev"> 218 <interpolate_axis order="1" coordinate_src="p_nudged_horiz_interp0" coordinate_dst="p_nudged0" /> 219 </axis> 220 167 221 <axis id="nudged_vert_interp_dest" axis_ref="lev"> 168 222 <interpolate_axis order="1" coordinate_dst="p_nudged" /> -
CONFIG/UNIFORM/v7/ICOLMDZORINCA_v7/compile_icolmdzorinca.sh
r6185 r6209 40 40 # Default netcdf_lib is used for XIOS but can be change by argument 41 41 netcdf_lib="" 42 #radiative code compilation option 43 rad="rrtm" 44 opt_rad="" 42 45 43 46 # Output text file for compilation of each component … … 60 63 ./compile_config [Options] 61 64 62 Options: -full, -regular_latlon, -debug, -dev, -prod(default) 65 Options: -full, -regular_latlon, -debug, -dev, -prod(default) -opt_rad 63 66 64 67 Example 1: Default compilation of [DYNAMICO-LMDZ-ORCHIDEE-INCA GES with XIOS and IOIPSL] and [LMDZ(144x142x79)-ORCHIDEE-INCA GES with XIOS and IOIPSL] and [create_etat0_limit] … … 86 89 Example 8: compile only create_etat0_limit 87 90 ./compile_icolmdzorinca.sh -ce0l_only 91 92 Example 9: choose radiative scheme for LMDZ (oldrad/rrtm/ecrad) Default is rrtm 93 ./compile_icolmdzorinca.sh -rad ecrad 88 94 89 95 end_help … … 106 112 "-ce0l_only") ce0l_only=yes ; shift ;; 107 113 "-netcdf_lib_seq") netcdf_lib="--netcdf_lib netcdf4_seq"; shift ;; 114 "-rad") rad=$2; shift;; 108 115 "-chimie") optchimie=$2; shift ; shift;; 109 116 … … 120 127 echo >> $outfile 121 128 129 130 # check lmdz svn version 131 lmdzsvn=`svnversion ../../modeles/LMDZ | egrep -o "[0-9]+" | awk 'NR==1'` 122 132 123 133 ### Read host dependent default values … … 348 358 ## 2.7 Compile LMDZ for regular latlon configuration 349 359 360 361 # Option de compilation du rayonnement : depend de $lmdzsvn ><= r4185 362 case $rad in 363 oldrad) opt_rad="" ;; 364 rrtm) if [ $lmdzsvn -le 4185 ] ; then opt_rad="-rrtm true" ; else opt_rad="-rad rrtm" ; fi ;; 365 ecrad) opt_rad="-rad ecrad" ;; 366 *) echo Only oldrad rrtm ecrad for rad option ; exit 367 esac 368 if [ $lmdzsvn -le 4185 -a $rad = "ecrad" ] ; then echo "ecrad only available for LMDZ rev starting with 4186 " ; exit ; fi 369 370 350 371 # Find executable suffix 351 372 if [ $parallel == seq ] || [ $parallel == none ] ; then 352 suffix=_${resol_atm}_phylmd_seq_orch_inca.e 373 374 if [ $lmdzsvn -ge 4186 ] ; then 375 suffix=_${resol_atm}_phylmd_${rad}_seq_orch_inca.e 376 else 377 suffix=_${resol_atm}_phylmd_seq_orch_inca.e 378 fi 353 379 else 354 suffix=_${resol_atm}_phylmd_para_mem_orch_inca.e 380 if [ $lmdzsvn -ge 4186 ] ; then 381 suffix=_${resol_atm}_phylmd_${rad}_para_mem_orch_inca.e 382 else 383 suffix=_${resol_atm}_phylmd_para_mem_orch_inca.e 384 fi 355 385 fi 356 386 echo gcm suffix = $suffix … … 375 405 rm -f .lock 376 406 fi 377 echo ./makelmdz_fcm -d ${resol_atm} -p lmd -rrtm true-$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -chimie INCA -arch $fcm_arch -j 8 $full_lmdz gcm >> $outfile378 ./makelmdz_fcm -d ${resol_atm} -p lmd -rrtm true-$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -chimie INCA -arch $fcm_arch -j 8 $full_lmdz gcm >> $outfile 2>&1407 echo ./makelmdz_fcm -d ${resol_atm} -p lmd $opt_rad -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -chimie INCA -arch $fcm_arch -j 8 $full_lmdz gcm >> $outfile 408 ./makelmdz_fcm -d ${resol_atm} -p lmd $opt_rad -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -chimie INCA -arch $fcm_arch -j 8 $full_lmdz gcm >> $outfile 2>&1 379 409 # Test if compiling finished 380 410 if [[ $? != 0 ]] ; then … … 407 437 echo >> $outfile ; echo " NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}" >> $outfile 408 438 409 echo ./makelmdz_fcm -d ${resol_atm} -p lmd -rrtm true-$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -chimie INCA -arch $fcm_arch -j 8 $full_lmdz ce0l >> $outfile410 ./makelmdz_fcm -d ${resol_atm} -p lmd -rrtm true-$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -chimie INCA -arch $fcm_arch -j 8 $full_lmdz ce0l >> $outfile 2>&1439 echo ./makelmdz_fcm -d ${resol_atm} -p lmd ${opt_rad} -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -chimie INCA -arch $fcm_arch -j 8 $full_lmdz ce0l >> $outfile 440 ./makelmdz_fcm -d ${resol_atm} -p lmd ${opt_rad} -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -chimie INCA -arch $fcm_arch -j 8 $full_lmdz ce0l >> $outfile 2>&1 411 441 # Test if compiling finished 412 442 if [[ $? != 0 ]] ; then
Note: See TracChangeset
for help on using the changeset viewer.