Changeset 5644 for CONFIG


Ignore:
Timestamp:
03/24/21 10:44:53 (3 years ago)
Author:
tlurton
Message:

Added and modified necessary files to support configuration CO2AER.

Location:
CONFIG/UNIFORM/v6/IPSLCM6.2
Files:
19 added
3 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6.2/GENERAL/DRIVER/lmdz.driver

    r5117 r5644  
    367367    fi 
    368368 
    369     if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
     369    if [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ; then 
     370    echo "ESM config, with INCA and CO2i, set type_trac=inco in run.def" 
     371    IGCM_comp_modifyDefFile blocker run.def type_trac inco 
     372    IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1 
     373    elif [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    370374        echo "Activate coupling to INCA, set type_trac=inca in run.def" 
    371375        IGCM_comp_modifyDefFile blocker run.def type_trac inca 
     
    380384        IGCM_comp_modifyDefFile blocker run.def type_trac co2i 
    381385        IGCM_comp_modifyDefFile blocker run.def config_inca none 
    382         IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1  
     386    IGCM_comp_modifyDefFile blocker run.def iflag_phytrac 1  
    383387    elif [ X${lmdz_UserChoices_LMDZ_strataero} = Xy ] ; then 
    384388        echo "No coupling to chemistry model but it is a LMDZ STRATAER configuration, set type_trac=coag in run.def" 
     
    480484    fi  
    481485 
    482     if [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
     486    if ( [ X${config_UserChoices_ConfigType} = XESMCO2 ] || [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ) ; then 
    483487        # Set carbon cycle parameters according to parmeters in lmdz.card  
    484488        IGCM_comp_modifyDefFile blocker config.def level_coupling_esm 2  
  • CONFIG/UNIFORM/v6/IPSLCM6.2/GENERAL/DRIVER/pisces.driver

    r4480 r5644  
    8585    IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcco2 ${LMDZ_CO2} 
    8686 
    87     if [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
     87    if ( [ X${config_UserChoices_ConfigType} = XESMCO2 ] || [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ) ; then 
    8888        ##-- N2O forcing : update atcn2o value in namelist_pisces_cfg with the same one used in LMDZ 
    8989        IGCM_debug_Print 1 "Take same N2O as for LMDZ, in parameter file config.def." 
     
    115115    IGCM_comp_modifyXmlFile nonblocker file_def_nemo-pisces.xml 1y_pis output_level ${pisces_UserChoices_OutputLevel} 
    116116 
    117     if [ X${config_UserChoices_ConfigType} = XESMCO2 ] ; then 
     117    if ( [ X${config_UserChoices_ConfigType} = XESMCO2 ] || [ X${config_UserChoices_ConfigType} = XESMCO2AER ] ) ; then 
    118118      # Output file with PISCES gas variables 
    119119      IGCM_comp_modifyXmlFile force file_def_nemo-pisces.xml file41 enabled .TRUE. 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/compile_ipslcm6.sh

    r5579 r5644  
    6868         [ESMCO2] Compile IPSLCM6 for CO2 interactif ocean/atmosphere. 
    6969         [ESMAER] Compile IPSLCM6 for AER interactif on atmosphere 
     70         [ESMCO2AER] Compile IPSLCM6 for both interactive CO2 and AER. 
    7071         [-full] Full recompilation of all components. This option can be added to all other options. 
    7172         [-cleannemo] Full recompilation of NEMO component  only. 
     
    101102        "ESMCO2")      esmco2=y;  shift ;;  
    102103        "ESMAER")      esmaer=y; shift ;;  
     104        "ESMCO2AER")   esmco2=y; esmaer=y; shift ;; 
    103105        "CE0L")        ce0l=y ; shift ;; 
    104106        "-parallel")   parallel=$2 ; shift ; shift ;;  
     
    320322 
    321323if [ -f $nemo_root/$cfg_wrk/BLD/bin/nemo.exe ] ; then 
    322     if [ ${esmco2} == y ] ;  then  
     324    if [ ${esmco2} == y ] && [ ${esmaer} == n ] ;  then  
    323325        mv $nemo_root/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa.ESMCO2_${resol_oce}_${optmode} 
     326    elif [ ${esmco2} == y ] && [ ${esmaer} == y ] ;  then 
     327    mv $nemo_root/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa.ESMCO2AER_${resol_oce}_${optmode} 
    324328    else 
    325329        mv $nemo_root/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa_${resol_oce}_${optmode} 
Note: See TracChangeset for help on using the changeset viewer.