Changeset 1643 for CONFIG/IPSLCM


Ignore:
Timestamp:
01/31/12 13:06:36 (10 years ago)
Author:
jgipsl
Message:
  • Added all cards needed to run a forced LMDZOR amip experience in IPSLCM5_v4 configuration.
  • Added file guide.def. By defalut ok_guide=n, no nudging. To activate nudging, set ok_guide=y in lmdz.card
  • in lmdz.driver, changed test to know if create_etat0_limit execution is needed
Location:
CONFIG/IPSLCM/IPSLCM5_v4
Files:
4 added
1 edited
4 copied

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/DRIVER/lmdz.driver

    r1620 r1643  
    3636    esac 
    3737 
    38          
    3938    ##- LMDZ physics version 
    4039    ##  Read LMDZ_Physics option in lmdz.card, if not present take default value AP (old physics)  
     
    4544    fi 
    4645    echo LMDZ physics version : ${LMDZ_Physics} 
     46 
     47    ##- Create_etat0_limit version 
     48    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices CREATE 
     49    CREATE=${lmdz_UserChoices_CREATE} 
     50    echo create_etat0_limit version : ${CREATE} 
    4751 
    4852    ## - LMDZ choice of config.def file 
     
    313317    LMDZ_sed run.def adjust   ${LMDZ_adjust} 
    314318 
     319 
     320    # guide.def : Activate nudging if ok_guide set in lmdz.card 
     321    if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     322        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     323    fi 
     324 
    315325    ## Read ByPass_hgardfou_teta option in lmdz.card --> divide teta* by 2 if [ $ByPass_hgardfou_teta = 1 ] 
    316326    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_teta 
     
    342352 
    343353    if ( ${FirstInitialize} ) ; then 
    344  
    345         if ( [ "${config_Restarts_OverRule}" = "n" ] && [ "${config_ATM_Restart}" = "n" ] ); then 
     354        if [ -f start.nc ] && [ -f startphy.nc ] ; then 
     355            # The restart files already exist. They have been copied from a previous run or from a CREATE job 
     356            echo "Restart files for LMDZ have been copied from a previous run" 
     357        else 
     358            # Restart files have to be created 
     359            echo "Run create_etat0_limit.e to create restart files start.nc and startphy.nc for LMDZ" 
    346360            if [ ${DRYRUN} -le 2 ] ; then 
    347361                ##-- suppression of ozone file construction -- 
    348                 cp config.def config.def.save 
    349                 LMDZ_sed config.def read_climoz 0 
     362                cp config.def config.def.save 
     363                LMDZ_sed config.def read_climoz 0 
    350364                IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 
    351365                if [ ${DRYRUN} -le 1 ] ; then 
    352366                    ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e 
    353                     IGCM_sys_Put_Out start.nc    ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_start.nc 
    354                     IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 
     367                    IGCM_sys_Put_Out start.nc    ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_start.nc 
     368                    IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 
    355369                fi 
    356                 IGCM_sys_Mv config.def.save config.def 
     370                IGCM_sys_Mv config.def.save config.def 
    357371            else 
    358372                echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" 
     
    360374            fi 
    361375        fi 
    362  
    363376    fi 
    364377 
  • CONFIG/IPSLCM/IPSLCM5_v4/USER_SPEC/LMDZOR/amip/COMP/lmdz.card

    r1622 r1643  
    2121# LMDZ_Bands_file_name=${ARCHIVE}/IGCM_OUT/IPSLCM5/XXXXXXX/ATM/Debug/XXXXXXX_Bands_96x95x19_3prc.dat_3 
    2222 
     23# Set ConfType to choose parameters for aerosols, solar and green house gazes.  
     24# The parameter file PARAM/config.def_$ConfType will be used. 
     25# ConfType=preind/actuel/annuel 
     26ConfType=annuel 
     27 
     28# Set OutLevel to choose the level of output files from LMDZ. The file PARAM/output.def_$OutLevel will be used. 
     29# OutLevel=low/medium/high 
     30OutLevel=low 
     31 
    2332# Set COSP activation and Outputs frequency (monthly, daily, HF) = y/n 
    2433LMDZ_COSP_OK=n 
     
    3241LMDZ_NMC_hf=n 
    3342 
    34 # Other specific parameters to this experience  
    35 aer_type=annuel 
    36 pmagic=0.0 
    37  
    3843# Nugding : ok_guide=y/n 
    3944ok_guide=n 
     
    4449 
    4550[BoundaryFiles] 
    46 List= (${R_OUT}/${config_UserChoices_TagName}/${CREATE}/ATM/Output/Boundary/${CREATE}_${year}_limit.nc,       limit.nc) 
     51List=() 
     52#List= 
    4753#      (/dmnfs/cont003/p86ghatt/IGCM_OUT/LMDZOR/NUDGING-CORDEX-AFR/${year}${month}/u.nc, u.nc),\ 
    4854#      (/dmnfs/cont003/p86ghatt/IGCM_OUT/LMDZOR/NUDGING-CORDEX-AFR/${year}${month}/v.nc, v.nc) 
     
    6167# With AR5 aerosols (including ASSO4M(=SO4), CSSO4M, AIBCM, ASBCM, AIPOMM, ASPOMM, ASSSM, CSSSM, SSSSM, CIDUSTM) 
    6268# With AR5 ozone(tropo + strato from LMDZOR-INCA-REPROBUS simulations) 
    63 List=   (${R_BC}/ATM/${config_UserChoices_TagName}/${RESOL_ATM}/AR5/HISTORIQUE/aerosols_11YearsClim_${year}_v3.nc, aerosols${year}.nc, 1:12:), \ 
     69List=   (${R_OUT}/${config_UserChoices_TagName}/${CREATE}/ATM/Output/Boundary/${CREATE}_${year}_limit.nc,          limit.nc,           1:12:),\ 
     70        (${R_BC}/ATM/${config_UserChoices_TagName}/${RESOL_ATM}/AR5/HISTORIQUE/aerosols_11YearsClim_${year}_v3.nc, aerosols${year}.nc, 1:12:), \ 
    6471        (${R_OUT}/${config_UserChoices_TagName}/${CREATE}/ATM/Output/Boundary/${CREATE}_${year}_climoz_LMDZ.nc,    climoz_LMDZ.nc,     1:12:) 
    6572 
     
    6976        (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt,                .),    \ 
    7077        (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt,               .),    \ 
     78        (${SUBMIT_DIR}/PARAM/output.def_${OutLevel},  output.def),    \ 
     79        (${SUBMIT_DIR}/PARAM/config.def_${ConfType},  config.def),    \ 
    7180        (${SUBMIT_DIR}/PARAM/guide.def, .), \ 
    7281        (${SUBMIT_DIR}/PARAM/run.def, .), \ 
  • CONFIG/IPSLCM/IPSLCM5_v4/USER_SPEC/LMDZOR/amip/config.card

    r1622 r1643  
    1212JobName=LMDZOR01 
    1313#----- Short Name of Experiment 
    14 ExperimentName=CLIM 
     14ExperimentName=amip 
    1515#----- DEVT TEST PROD 
    16 SpaceName=PROD 
    17 LongName="LMDZ4OR configuration using the SVN trunk of LMDZ4" 
     16SpaceName=TEST 
     17LongName="LMDZOR configuration" 
    1818TagName=LMDZOR 
     19UserSpec=LMDZOR/amip 
    1920#============================ 
    2021#-- leap, noleap, 360d 
    21 CalendarType=360d 
     22CalendarType=leap 
    2223#-- Begin and end of job  
    2324#-- "YYYY-MM-DD" 
    2425DateBegin=1980-01-01 
    25 DateEnd=1980-12-30 
     26DateEnd=1980-01-31 
    2627#============================ 
    2728#-- 1Y, 1M, 5D, 1D Period Length of one trunk of simulation 
     
    3334#============================ 
    3435#-- Total Number of Processors 
    35 JobNumProcTot=4 
     36JobNumProcTot=32 
    3637#============================ 
    3738#-- Run Options 
Note: See TracChangeset for help on using the changeset viewer.