Changeset 6046 for CONFIG/UNIFORM


Ignore:
Timestamp:
01/17/22 12:30:11 (2 years ago)
Author:
acosce
Message:

modifications to run paleo simulation (mosaic) with IPSLCM5A2CHT configuration and v6.2 compilation

Location:
CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/EXPERIMENTS/IPSLCMCHT/DUSS_paleo/COMP/lmdz.card

    r6037 r6046  
    1111# Set ConfType to choose parameters for aerosols, solar and green house gazes. 
    1212# The parameter file PARAM/config.def_$ConfType will be used. 
    13 # ConfType=preind/actuel/annuel 
    14 ConfType=preind 
     13# ConfType=paleo/preind/actuel/annuel 
     14ConfType=paleo 
    1515 
    1616# Set pmagic in config.def 
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/EXPERIMENTS/IPSLCMCHT/DUSS_paleo/COMP/oasis.card

    r6037 r6046  
    1515 
    1616[InitialStateFiles] 
    17 List=   (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/flxat.nc, flxat.nc), \ 
    18         (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/sstoc.nc, sstoc.nc) 
     17List=   (/ccc/work/cont003/gen2212/nguyens/PALEO/CPLRESTART/flxat_LMD9695_maskFrom_ORCA2.3.nc, flxat.nc), \ 
     18        (/ccc/work/cont003/gen2212/nguyens/PALEO/CPLRESTART/sstoc_ORCA2.3.nc, sstoc.nc) 
    1919 
    2020[BoundaryFiles] 
    2121List=   () 
    22 ListNonDel= (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/grids_v3.nc, grids.nc),\ 
    23             (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/masks_v3.nc, masks.nc),\ 
    24             (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/areas_v3.nc, areas.nc),\ 
    25             (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_torc_to_tlmd_MOSAIC_v3.nc, rmp_torc_to_tlmd_MOSAIC.nc),\ 
    26             (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_v3.nc, rmp_tlmd_to_torc_MOSAIC.nc),\ 
    27             (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_calvin_v3.nc, rmp_tlmd_to_torc_MOSAIC_calvin.nc),\ 
    28             (${R_IN}/CPL/IPSLCM6/${config_UserChoices_ORCA_version}x${RESOL_ATM}/rmp_tlmd_to_torc_MOSAIC_rivflu_v3.nc, rmp_tlmd_to_torc_MOSAIC_rivflu.nc) 
    29  
     22ListNonDel= (/ccc/work/cont003/gen2212/p25ladan/IGCM/CPL/IPSLCM5A2/PALEORCA2.90MaMullerbathy.v3xLMD9695/grids.nc, grids.nc),\ 
     23        (/ccc/work/cont003/gen2212/p25ladan/IGCM/CPL/IPSLCM5A2/PALEORCA2.90MaMullerbathy.v3xLMD9695/masks.nc, masks.nc),\ 
     24        (/ccc/work/cont003/gen2212/p25ladan/IGCM/CPL/IPSLCM5A2/PALEORCA2.90MaMullerbathy.v3xLMD9695/areas.nc, areas.nc),\ 
     25        (/ccc/work/cont003/gen2212/p25ladan/IGCM/CPL/IPSLCM5A2/PALEORCA2.90MaMullerbathy.v3xLMD9695/rmp_torc_to_tlmd_MOSAIC.nc, rmp_torc_to_tlmd_MOSAIC.nc),\ 
     26        (/ccc/work/cont003/gen2212/p25ladan/IGCM/CPL/IPSLCM5A2/PALEORCA2.90MaMullerbathy.v3xLMD9695/rmp_tlmd_to_torc_MOSAIC.nc, rmp_tlmd_to_torc_MOSAIC.nc),\ 
     27        (/ccc/work/cont003/gen2212/p25ladan/IGCM/CPL/IPSLCM5A2/PALEORCA2.90MaMullerbathy.v3xLMD9695/rmp_tlmd_to_torc_MOSAIC_calvin.nc, rmp_tlmd_to_torc_MOSAIC_calvin.nc),\ 
     28        (/ccc/work/cont003/gen2212/p25ladan/IGCM/CPL/IPSLCM5A2/PALEORCA2.90MaMullerbathy.v3xLMD9695/rmp_tlmd_to_torc_MOSAIC_rivflu.nc, rmp_tlmd_to_torc_MOSAIC_rivflu.nc)  
     29             
    3030[SmoothFiles] 
    3131List=   () 
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/EXPERIMENTS/IPSLCMCHT/DUSS_paleo/COMP/opa9.card

    r6037 r6046  
    44[UserChoices] 
    55ORCA_version=${config_UserChoices_ORCA_version:-ORCA2.3} 
    6 mesh_mask= y 
     6mesh_mask= n 
    77 
    88[InitialStateFiles] 
     
    1111[BoundaryFiles] 
    1212List=   () 
    13 ListNonDel= (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/coordinates.nc                          , .), \ 
    14             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/bathy_meter.nc                          , .), \ 
    15             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/ahmcoef.nc                              , .), \ 
    16             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/runoffs_ORCA2_depths.nc                 , .), \ 
    17             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/data_1m_potential_temperature_nomask.nc , .), \ 
    18             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/geothermal_heating.nc                   , .), \ 
    19             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/data_1m_salinity_nomask.nc              , .), \ 
    20             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/sss_data.nc                             , .), \ 
    21             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/sst_data.nc                             , .), \ 
    22             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/chlorophyll_surface.nc                  , .), \ 
    23             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/K1rowdrg.nc                             , .), \ 
    24             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/M2rowdrg.nc                             , .), \ 
    25             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/mask_itf.nc                             , .), \ 
    26             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/sali_ref_clim_monthly.nc                , .), \ 
    27             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/subbasins.nc                            , .) 
     13ListNonDel= (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/coordinates_paleorca2_yd.nc,                                           coordinates.nc), \ 
     14            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/bathy.90MaMullerbathy_final.paleorca2_yd.new.nc,                       bathy_meter.nc), \ 
     15            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/ahmcoef_90Ma.nc,                                                           ahmcoef.nc), \ 
     16            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/runoffs_ORCA2_depths_90Ma.nc,                                 runoffs_ORCA2_depths.nc), \ 
     17            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/data_1m_potential_temperature_nomask_90Ma.nc, data_1m_potential_temperature_nomask.nc), \ 
     18            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/geothermal_heating_90MaMullerbathy.nc,                          geothermal_heating.nc), \ 
     19            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/data_1m_salinity_nomask_90Ma.nc,                           data_1m_salinity_nomask.nc), \ 
     20            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/sss_data_90Ma.nc,                                                         sss_data.nc), \ 
     21            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/sst_data_90Ma.nc,                                                         sst_data.nc), \ 
     22            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/chlorophyll_surface_90Ma.nc,                                   chlorophyll_surface.nc), \ 
     23            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/K1rowdrg_90Ma.nc,                                                         K1rowdrg.nc), \ 
     24            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/M2rowdrg_90Ma.nc,                                                         M2rowdrg.nc), \ 
     25            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/mask_itf_90Ma.nc,                                                         mask_itf.nc), \ 
     26            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/sali_ref_clim_monthly_90Ma.nc,                               sali_ref_clim_monthly.nc), \ 
     27            (/ccc/work/cont003/gen2212/p25ladan/BC_IPSLCM5A2/OPA/90Ma/subbasins_90Ma_paleorca2_yd.nc,                                          subbasins.nc) 
    2828 
    2929[SmoothFiles] 
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/EXPERIMENTS/IPSLCMCHT/DUSS_paleo/config.card

    r6037 r6046  
    4343#============================ 
    4444ConfChem=DUSS 
    45  
     45ConfExp=paleo 
    4646#======================================================================== 
    4747#D-- Restarts - 
     
    5959RestartPath=${R_IN}/RESTART/IPSLCM5A2/PROD/piControl 
    6060 
     61#======================================================================== 
    6162#D-- ATM - 
    6263[ATM] 
     
    198199CPL= ("", "" ) 
    199200CHM= ("", "") 
    200 IOS= (xios_server.exe, xios.x, 1MPI) 
     201IOS= (xios_server_${OptMode}.exe, xios.x, 1MPI) 
    201202 
    202203#======================================================================== 
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER/inca.driver

    r6032 r6046  
    2020    IGCM_debug_PushStack "CHM_Initialize" 
    2121 
    22     RESOL_CHM=$( echo $RESOL | awk "-Fx" '{print $2}' | awk "-FD" '{print $2}') 
    23  
    24     [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x19 
    25     RESOL_CHM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' | awk "-F-" '{print $1}') 
    26     RESOL_CHM_XY=$( echo ${RESOL_CHM} | awk "-F-" '{print $1}' ) 
    27     echo 'resol chimie : ' $RESOL_CHM', resol lonlat : ' ${RESOL_CHM_XY} 
    28  
    29  
    30     [ -f ${SUBMIT_DIR}/../.chimie ] && eval $(grep CHEM ${SUBMIT_DIR}/../.chimie)  
    31     INCA_sed_replace ${SUBMIT_DIR}/config.card \${CHEM} ${CHEM} 
     22 
     23    if [ X$ResolAtm != X ] ; then 
     24        # ResolAtm is set in config.card 
     25        RESOL_ATM_3D=${ResolAtm} 
     26        RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' ) 
     27        RESOL_ATM_X=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $1}' ) 
     28        RESOL_ATM_Y=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $2}' ) 
     29 
     30        RESOL_CHM=${RESOL_ATM_X}${RESOL_ATM_Y}-L${RESOL_ATM_Z} 
     31    elif [ -f ${SUBMIT_DIR}/../.resol ] ; then 
     32        [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x19 
     33        RESOL_CHM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' | awk "-F-" '{print $1}') 
     34    else 
     35        IGCM_debug_Exit "ResolAtm is not set in config.card and the .resol file does not exist." 
     36        IGCM_debug_Verif_Exit 
     37    fi 
     38 
     39    echo 'resol chimie', $RESOL_CHM 
     40    CHEM=${ConfChem} 
    3241    echo "INCA Tag : LMDZ-INCA" ${config_UserChoices_TagName} 
    3342 
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER/lmdz.driver

    r6035 r6046  
    55    IGCM_debug_PushStack "ATM_Initialize" 
    66 
    7     RESOL_ATM=$( echo $RESOL | awk "-Fx" '{print $2}' | awk "-F-" '{print $1}') 
    8  
    9     [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x39 
     7 
     8    # Read the resolution from the variables ResolAtm set in config.card UserChoices section or from .resol file 
     9    if [ X$ResolAtm != X ] ; then 
     10        # ResolAtm is set in config.card 
     11        RESOL_ATM_3D=${ResolAtm} 
     12    elif [ -f ${SUBMIT_DIR}/../.resol ] ; then 
     13        # ResolAtm was not set in config.card, try to read .resol file 
     14        eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x39 
     15    else 
     16        IGCM_debug_Exit "ResolAtm is not set in config.card and the .resol file does not exist." 
     17        IGCM_debug_Verif_Exit 
     18    fi 
     19     
     20    IGCM_debug_Print 1 "The atomsopheric resolution is ${RESOL_ATM_3D} "  
    1021 
    1122    RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' ) 
     
    1324    RESOL_ATM_Y=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $2}' ) 
    1425    RESOL_ATM_XY="${RESOL_ATM_X}x${RESOL_ATM_Y}" 
     26    RESOL_ATM=LMD${RESOL_ATM_X}${RESOL_ATM_Y} 
    1527 
    1628    ##- LMDZ physics version 
     
    279291    ## gcm.def parameters :  
    280292    # Modification of variable iphysiq depending on the physics 
    281     ISPALEO=${config_UserChoices_ExpType##*/} 
     293    if [ x$ConfExp != X ]; then  
     294        ISPALEO=${ConfExp} 
     295    elif  [ -f ${SUBMIT_DIR}/../.resol ] ; then 
     296        ISPALEO=${config_UserChoices_ExpType##*/} 
     297    fi  
    282298 
    283299    if [ X${LMDZ_Physics} = X"AP" ] && [ ${ISPALEO} != "paleo" ]; then 
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER/opa9.driver

    r6035 r6046  
    77    JOB_NAME=${config_UserChoices_JobName} 
    88 
    9     RESOL_OCE_ICE=$( echo ${RESOL} | awk "-Fx" '{print $1}' ) 
    10     case ${RESOL_OCE_ICE} in 
    11         ( *LIM2* ) SEAICE_MODEL=LIM2 ;  LIM_VERSION=2 ;; 
    12         ( *LIM3* ) SEAICE_MODEL=LIM3 ;  LIM_VERSION=3 ;; 
    13         ( *CICE* ) SEAICE_MODEL=CICE                  ;; 
    14         ( *      ) SEAICE_MODEL=UNKNOWN               ;; 
    15     esac 
    16     RESOL_OCE=$( echo ${RESOL_OCE_ICE} | sed "s/${SEAICE_MODEL}//" ) 
    17  
    18     IGCM_debug_Print 1 "RESOL          : ${RESOL}" 
    19     IGCM_debug_Print 1 "RESOL_OCE_ICE  : ${RESOL_OCE_ICE}" 
    20     IGCM_debug_Print 1 "SEAICE_MODEL   : ${SEAICE_MODEL}" 
    21     IGCM_debug_Print 1 "LIM_VERSION    : ${LIM_VERSION}" 
    22     IGCM_debug_Print 1 "RESOL_OCE      : ${RESOL_OCE}" 
     9 
     10    if [ X$ResolOce != X ]; then  
     11        #ResolOce is set in config.card  
     12        RESOL_OCE=${ResolOce} 
     13        IGCM_debug_Print 1 "RESOL_OCE      : ${RESOL_OCE}" 
     14 
     15    elif [ -f ${SUBMIT_DIR}/../.resol ] ; then 
     16        RESOL_OCE_ICE=$( echo ${RESOL} | awk "-Fx" '{print $1}' ) 
     17        case ${RESOL_OCE_ICE} in 
     18            ( *LIM2* ) SEAICE_MODEL=LIM2 ;      LIM_VERSION=2 ;; 
     19            ( *LIM3* ) SEAICE_MODEL=LIM3 ;      LIM_VERSION=3 ;; 
     20            ( *CICE* ) SEAICE_MODEL=CICE                  ;; 
     21            ( *      ) SEAICE_MODEL=UNKNOWN               ;; 
     22        esac 
     23        RESOL_OCE=$( echo ${RESOL_OCE_ICE} | sed "s/${SEAICE_MODEL}//" ) 
     24        IGCM_debug_Print 1 "RESOL_OCE_ICE  : ${RESOL_OCE_ICE}" 
     25        IGCM_debug_Print 1 "RESOL          : ${RESOL}" 
     26        IGCM_debug_Print 1 "SEAICE_MODEL   : ${SEAICE_MODEL}" 
     27        IGCM_debug_Print 1 "LIM_VERSION    : ${LIM_VERSION}" 
     28        IGCM_debug_Print 1 "RESOL_OCE      : ${RESOL_OCE}" 
     29    else 
     30        IGCM_debug_Exit "ResolAtm is not set in config.card and the .resol file does not exist." 
     31        IGCM_debug_Verif_Exit 
     32    fi 
    2333 
    2434    # Local function to find namelists parameters 
     
    2636    supergrep () { grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" -e "s%^ *$1 *=%%" ; } 
    2737    ##--Variables used by OPA -- 
    28     ISPALEO=${config_UserChoices_ExpType##*/} 
     38    if [ x$ConfExp != X ]; then  
     39        ISPALEO=${ConfExp} 
     40    elif  [ -f ${SUBMIT_DIR}/../.resol ] ; then 
     41        ISPALEO=${config_UserChoices_ExpType##*/} 
     42    fi  
     43 
     44    echo "ISPALEO = " $ISPALEO 
    2945    if [ "${ISPALEO}" = "paleo" ] ; then 
    3046        NAMELIST_OPA_CFG=${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg_paleo 
  • CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER/orchidee.driver

    r6035 r6046  
    5555    # Activate creation of river description file only for the first period 
    5656    if [ ${CumulPeriod} -eq 1 ] ; then 
    57         ISPALEO=${config_UserChoices_ExpType##*/} 
     57        if [ x$ConfExp != X ]; then  
     58            ISPALEO=${ConfExp} 
     59        elif  [ -f ${SUBMIT_DIR}/../.resol ] ; then 
     60            ISPALEO=${config_UserChoices_ExpType##*/} 
     61        fi  
     62 
    5863        if [ "${ISPALEO}" = "paleo" ] ; then # change to y if needed for paleo 
    5964            IGCM_comp_modifyDefFile nonblocker orchidee.def RIVER_DESC n 
Note: See TracChangeset for help on using the changeset viewer.