Changeset 3758 for CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER
- Timestamp:
- 04/13/18 13:41:50 (6 years ago)
- Location:
- CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/lim2.driver
r3687 r3758 44 44 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y_lim enabled ${VI1Y_ENABLE} 45 45 46 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1d_lim output_level ${lim2_UserChoices_OutputLevel} 47 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 5d_lim output_level ${lim2_UserChoices_OutputLevel} 48 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m_lim output_level ${lim2_UserChoices_OutputLevel} 49 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y_lim output_level ${lim2_UserChoices_OutputLevel} 50 46 51 echo UPDATE ICE !!! 47 52 -
CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/lim3.driver
r3687 r3758 36 36 # Update iodef.xml 37 37 38 if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then39 VI1D_ENABLE=".FALSE."40 VI5D_ENABLE=".FALSE."41 VI1M_ENABLE=".FALSE."42 VI1Y_ENABLE=".FALSE."43 fi44 45 38 IGCM_debug_Print 1 'Informations into iodef.xml : VI1D_ENABLE VI5D_ENABLE VI1M_ENABLE VI1Y_ENABLE ' 46 39 IGCM_debug_Print 1 ${VI1D_ENABLE} ${VI5D_ENABLE} ${VI1M_ENABLE} ${VI1Y_ENABLE} … … 50 43 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m_lim enabled ${VI1M_ENABLE} 51 44 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y_lim enabled ${VI1Y_ENABLE} 45 46 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1d_lim output_level ${lim3_UserChoices_OutputLevel} 47 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 5d_lim output_level ${lim3_UserChoices_OutputLevel} 48 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1m_lim output_level ${lim3_UserChoices_OutputLevel} 49 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-lim.xml 1y_lim output_level ${lim3_UserChoices_OutputLevel} 50 52 51 53 52 echo UPDATE ICE !!! -
CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/lmdz.driver
r3687 r3758 81 81 done 82 82 83 if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then84 ok_mensuel=.FALSE.85 ok_journe=.FALSE.86 ok_hf=.FALSE.87 ok_hf3h=.FALSE.88 ok_hf3hm=.FALSE.89 ok_stn=.FALSE.90 fi91 83 92 84 ## Read LMDZ_COSP_OK in lmdz.card … … 373 365 fi 374 366 367 368 # run.def : Activate the call to phytrac 369 if [ ! X${lmdz_UserChoices_iflag_phytrac} = X ]; then 370 IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac ${lmdz_UserChoices_iflag_phytrac} 371 else 372 IGCM_comp_modifyDefFile nonblocker run.def iflag_phytrac 0 373 fi 374 375 # physiq.def : Activate the call to phytrac 376 if [ ! X${lmdz_UserChoices_ok_bug_cv_trac} = X ]; then 377 IGCM_comp_modifyDefFile nonblocker physiq.def ok_bug_cv_trac ${lmdz_UserChoices_ok_bug_cv_trac} 378 else 379 IGCM_comp_modifyDefFile nonblocker physiq.def ok_bug_cv_trac n 380 fi 375 381 376 382 # config.def : Activate direct radiative effect if ok_ade=y -
CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/opa9.driver
r3687 r3758 68 68 IGCM_debug_Verif_Exit 69 69 fi 70 71 if [[ ${opa9_UserChoices_TimeOrigin} -gt ${InitYear} ]] ; then 72 echo 73 echo 74 IGCM_debug_Exit "TimeOrigin=${opa9_UserChoices_TimeOrigin} is greater than initial year=${InitYear}. IT MUST BE LOWER ! Change this value in opa9.card" 75 IGCM_debug_Verif_Exit 76 fi 77 70 78 71 79 IGCM_debug_PopStack "OCE_Initialize" … … 186 194 # Update iodef.xml 187 195 188 if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then189 V1D_ENABLE=".FALSE."190 V5D_ENABLE=".FALSE."191 V1M_ENABLE=".FALSE."192 V1Y_ENABLE=".FALSE."193 fi194 195 196 IGCM_debug_Print 1 'Informations into iodef.xml : V1D_ENABLE V5D_ENABLE V1M_ENABLE V1Y_ENABLE ' 196 197 IGCM_debug_Print 1 ${V1D_ENABLE} ${V5D_ENABLE} ${V1M_ENABLE} ${V1Y_ENABLE} … … 200 201 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1m_opa enabled ${V1M_ENABLE} 201 202 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1y_opa enabled ${V1Y_ENABLE} 203 204 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1d_opa output_level ${opa9_UserChoices_OutputLevel} 205 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 5d_opa output_level ${opa9_UserChoices_OutputLevel} 206 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1m_opa output_level ${opa9_UserChoices_OutputLevel} 207 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-opa.xml 1y_opa output_level ${opa9_UserChoices_OutputLevel} 208 202 209 203 210 IGCM_comp_modifyXmlFile force context_nemo.xml ref_year NONE ${opa9_UserChoices_TimeOrigin} -
CONFIG/UNIFORM/v6/IPSLESM6/GENERAL/DRIVER/pisces.driver
r3687 r3758 68 68 fi 69 69 70 ##-- Enable dbio output file71 DBIO_ENABLE=".FALSE."72 eval pisces_DBIO_ENABLE=\${pisces_UserChoices_DBIO_ENABLE} > /dev/null 2>&173 if [ "${pisces_DBIO_ENABLE}" = "y" ]; then74 DBIO_ENABLE=".TRUE."75 fi76 70 77 # update iodef.xml 78 79 IGCM_debug_Print 1 " 'Informations into iodef.xml : DBIO_ENABLE : ${DBIO_ENABLE}" 80 81 sed -e "s/<DBIO_ENABLE>/${DBIO_ENABLE}/" \ 82 iodef.xml > iodef.xml.tmp 83 84 IGCM_sys_Mv iodef.xml.tmp iodef.xml 85 86 ##-- CO2 forcing : update atcco2 value in namelist_pisces_cfg 87 if [ "${pisces_UserChoices_CARBON_CYCLE}" = "y" ]; then 88 IGCM_debug_Print 1 "Special case for carbon cycle" 89 # Activate this case by putting CARBON_CYCLE=y in pisces.card section UserChoices 90 IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with value from file co2.log' 91 PathCO2log=${SUBMIT_DIR} 92 PreviousLinelog=$( tail -1 ${PathCO2log}/co2.log ) 93 IPCC_PIS_CO2=$( echo "${PreviousLinelog[*]}" | gawk -F '|' '{gsub(" ",""); print $4}' ) 94 IGCM_debug_Print 1 "IPCC_PIS_CO2 : ${IPCC_PIS_CO2} " 95 IGCM_comp_modifyNamelist force namelist_pisces_cfg atcco2 ${IPCC_PIS_CO2} 96 else 97 IGCM_debug_Print 1 "Take same CO2 as for LMDZ, in parameter file config.def." 98 # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for CO2. 99 IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with same value as for LMDZ' 100 LMDZ_CO2=$( lmdzgrep2 co2_ppm config.def ) 101 IGCM_debug_Print 1 "LMDZ_CO2 : ${LMDZ_CO2} " 102 IGCM_comp_modifyNamelist force namelist_pisces_cfg atcco2 ${LMDZ_CO2} 103 fi 71 ##-- CO2 forcing : update atcco2 value in namelist_pisces_cfg with the same one used in LMDZ 72 IGCM_debug_Print 1 "Take same CO2 as for LMDZ, in parameter file config.def." 73 # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for CO2. 74 IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with same value as for LMDZ' 75 LMDZ_CO2=$( lmdzgrep2 co2_ppm config.def ) 76 IGCM_debug_Print 1 "LMDZ_CO2 : ${LMDZ_CO2} " 77 IGCM_comp_modifyNamelist force namelist_pisces_cfg atcco2 ${LMDZ_CO2} 104 78 105 79 ##-- Update namelist_top_cfg and namelist_pisces_cfg … … 110 84 # Update iodef.xml 111 85 112 if [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" != "X" ] ; then113 VT1D_ENABLE=".FALSE."114 VT5D_ENABLE=".FALSE."115 VT1M_ENABLE=".FALSE."116 VT1Y_ENABLE=".FALSE."117 fi118 119 86 IGCM_debug_Print 1 'Informations into iodef.xml : VT1D_ENABLE VT5D_ENABLE VT1M_ENABLE VT1Y_ENABLE ' 120 87 IGCM_debug_Print 1 ${VT1D_ENABLE} ${VT5D_ENABLE} ${VT1M_ENABLE} ${VT1Y_ENABLE} … … 124 91 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1m_pis enabled ${VT1M_ENABLE} 125 92 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y_pis enabled ${VT1Y_ENABLE} 93 94 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1d_pis output_level ${pisces_UserChoices_OutputLevel} 95 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 5d_pis output_level ${pisces_UserChoices_OutputLevel} 96 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1m_pis output_level ${pisces_UserChoices_OutputLevel} 97 IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y_pis output_level ${pisces_UserChoices_OutputLevel} 98 126 99 127 100 IGCM_debug_PopStack "MBG_Update"
Note: See TracChangeset
for help on using the changeset viewer.