Changeset 4707 for CONFIG


Ignore:
Timestamp:
09/16/19 14:49:56 (5 years ago)
Author:
acosce
Message:

update IPSLCM6 - ESMAER experiment

  • add esmaer compilation on compile script
  • correct an error of resolution on config.card
  • add traceur file
  • update orchidee and opa.card
Location:
CONFIG/UNIFORM/v6/IPSLCM6.2
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/IPSLESM/AER/piControl_AER_TEST/COMP/opa9.card

    r4636 r4707  
    77Reproducibility_after_restart= y 
    88Restart_TS_only= n 
    9 OutputLevel=1 
     9Dynamics_on_ClosedSeas= y 
     10OutputLevel=2 
    1011 
    1112[InitialStateFiles] 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/IPSLESM/AER/piControl_AER_TEST/COMP/orchidee.card

    r4636 r4707  
    5353    (${SUBMIT_DIR}/PARAM/ping_orchidee.xml, . )                       ,\ 
    5454        (${MODIPSL}/modeles/ORCHIDEE/src_xml/file_def_orchidee.xml, .)  ,\ 
    55         (${MODIPSL}/modeles/ORCHIDEE/src_xml/file_def_input_orchidee.xml, .) ,\ 
     55        (${MODIPSL}/modeles/ORCHIDEE/src_xml/context_input_orchidee.xml, .) ,\ 
    5656        (${MODIPSL}/modeles/ORCHIDEE/src_xml/context_orchidee.xml, .)   ,\ 
    5757        (${MODIPSL}/modeles/ORCHIDEE/src_xml/field_def_orchidee.xml, .) 
     
    6161 
    6262[OutputText] 
    63 List=   (out_orchidee, orchidee.def, used_orchidee.def, iodef.xml, context_orchidee.xml, field_def_orchidee.xml, file_def_orchidee.xml, file_def_input_orchidee.xml, river_desc.nc) 
     63List=   (out_orchidee*, orchidee.def, used_orchidee.def, iodef.xml, context_orchidee.xml, field_def_orchidee.xml, file_def_orchidee.xml, context_input_orchidee.xml, river_desc.nc) 
    6464 
    6565[OutputFiles] 
     
    7171Patches = () 
    7272GatherWithInternal = (lon, lat, time_counter, Areas, Contfrac, time_centered, time_centered_bounds) 
    73 TimeSeriesVars2D = (nobiofrac, alb_nir, alb_vis, evap, fluxlat, fluxsens, rain, runoff, snow, snownobio, snowf, frac_snow, subli, tair, temp_sol, drainage, mrsos, mrso, TWBR, riverflow, coastalflow, DelSoilMoist_daily, DelIntercept_daily, DelSWE_daily, delstock_routing, LAImean, transpir, evapnu, lwdown, swdown, t2m, gppCrop, rhCrop) 
     73TimeSeriesVars2D = (nobiofrac, alb_nir, alb_vis, evap, fluxlat, fluxsens, rain, runoff, snow, snownobio, snowf, frac_snow, subli, tair, temp_sol, drainage, mrsos, mrso, TWBR, riverflow, coastalflow, DelSoilMoist_daily, DelIntercept_daily, DelSWE_daily, delstock_routing_daily, LAImean, transpir, evapnu, lwdown, swdown, t2m, gppCrop, rhCrop) 
    7474ChunckJob2D = NONE 
    7575TimeSeriesVars3D = (lai, maxvegetfrac, vegetfrac, nee, gpp, growth_resp, hetero_resp, humrel, inter, maint_resp, npp, precisol) 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/EXPERIMENTS/IPSLESM/AER/piControl_AER_TEST/config.card

    r4646 r4707  
    3636#-- ResolAtm indicates the atmospheric resolution 
    3737#   This variable is used in the executable name  
    38 ResolAtm=96x95x39 
     38ResolAtm=144x142x79 
    3939ResolOce=ORCA1 
    4040#============================ 
  • CONFIG/UNIFORM/v6/IPSLCM6.2/compile_ipslcm6.sh

    r4645 r4707  
    2424# Version ESM CO2: CO2 interactif ocean/atmosphere (y/n) 
    2525esmco2=n 
     26# Version ESM AER : Aer interactif chemistry / atmosphere (y/n)  
     27esmaer=n 
    2628# Also compile ce0l subprogram to LMDZ (y/n) 
    2729ce0l=n 
     
    3739full_flag="" 
    3840full_nemo=n 
     41full_inca="" 
    3942full_xios="" 
    4043full_lmdz="" 
     
    6467Options: [LR / VLR / MR1 / MR025] Model resolution, choose only one. Default: LR. 
    6568         [ESMCO2] Compile IPSLCM6 for CO2 interactif ocean/atmosphere. 
     69         [ESMAER] Compile IPSLCM6 for AER interactif on atmosphere 
    6670         [-full] Full recompilation of all components. This option can be added to all other options. 
    6771         [-cleannemo] Full recompilation of NEMO component  only. 
     
    96100        "MR025")       resol_atm=256x256x79; resol_oce=ORCA025 ; icemodel=lim3; oceanbio=n;   shift ;; 
    97101        "ESMCO2")      esmco2=y;  shift ;;  
     102        "ESMAER")      esmaer=y; shift ;;  
    98103        "CE0L")        ce0l=y ; shift ;; 
    99104        "-parallel")   parallel=$2 ; shift ; shift ;;  
     
    107112        "-full_orch")  full_orch="-full"  ; shift ;; 
    108113        "-full_nemo")  full_nemo=y ; shift ;; 
     114        "-full_inca")  full_inca="-clean"; shift ;; 
    109115        "-cleannemo")  full_nemo=y ; shift ;; 
    110116        *)             echo "unknown option "$1" , exiting..." ; exit 
     
    301307 
    302308## 2.6 Compile LMDZ for regular latlon configuration 
     309# If necessary compile INCA modele with AER configuration  
     310if [ ${esmaer} == y ] ;  then  
     311    cd $modipsl/modeles/INCA 
     312    #compile INCA regulat lat_lon chimie librairy  
     313    echo; echo "NOW COMPILE INCA AER on resolution = ${resol_atm}" 
     314    echo ./makeinca_fcm -chimie AER -$optmode -xios -parallel mpi_omp -resol ${resol_atm} -j 8 -arch ${fcm_arch}  -arch_path $arch_path $full_flag $full_inca >> $outfile  
     315    ./makeinca_fcm -chimie AER -$optmode -xios -parallel mpi_omp -resol ${resol_atm} -j 8 -arch ${fcm_arch} -arch_path $arch_path  $full_flag $full_inca >> $outfile 2>&1 
     316 
     317    # Test if compiling finished 
     318    if [[ $? != 0 ]] ; then 
     319        echo "THERE IS A PROBLEM IN INCA COMPILATION - STOP" 
     320        exit 
     321    fi 
     322 
     323    echo "Move inca.dat modipsl/bin" 
     324    if [[ -f $modipsl/modeles/INCA/SIMULATIONS/AER/inca.dat ]] ;  then   
     325        mv $modipsl/modeles/INCA/SIMULATIONS/AER/inca.dat $modipsl/bin/inca_${resol_atm}_${optmode}_AER.dat ; 
     326    else 
     327        echo "THERE IS A PROBLEM IN INCA COMPILATION - STOP" 
     328        exit     
     329    fi 
     330         
     331fi  
     332 
     333 
    303334cd $modipsl/modeles/LMDZ 
    304335# Compile LMDZ regular lat-lon exectuable 
     
    319350fi 
    320351 
    321 echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile  
    322      ./makelmdz_fcm -d ${resol_atm} -c OMCT -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 2>&1 
     352if [ ${esmaer} == n ] ;  then  
     353    echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile  
     354    ./makelmdz_fcm -d ${resol_atm} -c OMCT -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 2>&1 
     355else 
     356    #in esm aer case add chemistry option to lmdz compilation  
     357    echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -rrtm true -$optmode -mem -parallel $parallel -chimie INCA -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile  
     358    ./makelmdz_fcm -d ${resol_atm} -c OMCT -rrtm true -$optmode -mem -parallel $parallel -chimie INCA -io xios -v orchidee2.1 -arch $fcm_arch -arch_path $arch_path -j 8 $full_lmdz gcm    >> $outfile 2>&1 
     359fi  
    323360# Test if compiling finished 
    324361if [[ $? != 0 ]] ; then 
     
    333370ls -lrt $modipsl/modeles/LMDZ/bin  >> $outfile 
    334371echo >> $outfile 
    335 suffix=_${resol_atm}_phylmd_para_mem_orch_couple.e 
     372if [ ${esmaer} == n ] ;  then  
     373    suffix=_${resol_atm}_phylmd_para_mem_orch_couple.e 
     374else 
     375    suffix=_${resol_atm}_phylmd_para_mem_orch_couple_inca.e 
     376fi 
    336377echo gcm suffix = $suffix 
    337378 
    338379if [ -f $modipsl/modeles/LMDZ/bin/gcm${suffix} ] ;  then  
    339     mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}.e 
     380    if [ ${esmaer} == n ] ;  then  
     381        mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}.e 
     382    else 
     383        mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}_AER.e 
     384    fi 
    340385else 
    341386    echo "ERROR gcm${suffix} executable does not exist."  
Note: See TracChangeset for help on using the changeset viewer.