Ignore:
Timestamp:
10/05/23 15:25:56 (9 months ago)
Author:
jgipsl
Message:

Change in argument -regular_latlon:

Now only by adding -regular_latlon, activation of LMDZ compilation for regular grid is done (using LMDZ dynamics).
Set -resol_atm XXXxYYYxZZZ to change default resoluition. This automatically activates compilation of LMDZ on regular grid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh

    r6640 r6641  
    1212mysrc_path=$submitdir/SOURCES 
    1313export ROOT=$modipsl/modeles/DYNAMICO 
    14 #### Set default options  
    15 # Resolution if compiling LMDZ in regular mode without DYNAMICO 
    16 # Use for example following "./compile_icolmdzor.sh -regular_latlon 144x142x79" 
     14#### Set default options 
     15# Activate compilation of LMDZ for regular latlon grid without DYNAMICO 
    1716regular_latlon=no 
    18 # Atmospheric resolution, for LMDZ/ORCHIDEE in regular mode 
     17# Atmospheric resolution for regular grid for LMDZ/ORCHIDEE, if regular_latlon=yes 
    1918resol_atm=144x142x79 
    2019# Coupled with ocean biogeochemistry (y/n) 
     
    2322# optmode=prod/dev/debug 
    2423optmode=prod 
    25 # Resolution if compiling LMDZ in regular mode without DYNAMICO 
    26 # Use for example following "./compile_icolmdzor.sh -regular_latlon 144x142x79" 
    27 regular_latlon=no 
    2824# fcm_arch 
    2925fcm_arch=default 
     
    7975Options: [-full] Full recompilation of all components. This option can be added to all other options. 
    8076         [-cleannemo] Full recompilation of NEMO component only. 
    81          [-regular_latlon XXXxYYYxZZ] Define which regular grid to compile in addition to the icosahedric grid. It is mandatory to specify the grid size. 
     77         [-regular_latlon] Activate compilation of LMDZ for regular latlon grid with default resol_atm size in addition to the icosahedric grid.  
     78         [-resol_atm XXXxYYYxZZ] Define which regular grid to compile. 
    8279         [-debug / -dev / -prod] Level of optimization. One of these can be added to all other compile options. Default: -prod. 
    8380         [-subconfig X] Set this option if you want to compile a sub-configuration. X can be: ICOLMDZORINCA, ICOLMDZOR, LMDZORINCA or LMDZOR.  
     
    9491./compile_ipslcm7.sh -full 
    9592 
    96 Example 4: Compilation of LMDZ in regular lat-lon for dimension 144x142x79.  
    97            The dimension can be changed to any other 3d dimension. DYNAMICO is also compiled as default. 
    98 ./compile_ipslcm7.sh -regular_latlon 144x142x79 
     93Example 4: Compilation of LMDZ in regular lat-lon for default dimension 144x142x79.  
     94./compile_ipslcm7.sh -regular_latlon 
     95           Activate regular lat-lon compilation and change resolution to 144x142x95  
     96./compile_ipslcm7.sh -resol_atm 144x142x95 
    9997 
    10098Example 5: Compiltion of ORCHIDEE_trunk version 
     
    116114        "-dev")        optmode=dev ; shift ;; 
    117115        "-prod")       optmode=prod ; shift ;; 
    118         "-regular_latlon")  regular_latlon=yes ; resol_atm=$2 ; shift ; shift ;; 
     116        "-regular_latlon")  regular_latlon=yes ; shift ;; 
     117        "-resol_atm")  regular_latlon=yes ; resol_atm=$2 ; shift ; shift ;; 
    119118        "-subconfig")  subconfig=$2 ; shift ; shift ;; 
    120119        "-full")       full_flag="-full"; full_nemo=y ; full_xios="--full" ; full_lmdz="-full" ; full_orch="-full" ; shift ;; 
     
    140139echo "Following options are set in current compiling:" >> $outfile 
    141140echo "   regular_latlon=$regular_latlon (if yes, then resol_atm=${resol_atm})" >> $outfile  
    142 echo "   resol_atm=${resol_atm}, resol_oce=${resol_oce}, icemodel=${icemodel}, nemotop=${nemotop}" >> $outfile  
     141echo "   resol_atm=${resol_atm}, nemotop=${nemotop}" >> $outfile  
    143142echo "   optmode = $optmode, parallel = $parallel, fcm_arch = $fcm_arch " >> $outfile  
    144143echo "   full_flag=$full_flag, full_xios=$full_xios, full_lmdz=$full_lmdz, full_orch=$full_orch, full_nemo=$full_nemo, full_dyna=$full_dyna" >> $outfile  
Note: See TracChangeset for help on using the changeset viewer.