Changeset 6641 for CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh
- Timestamp:
- 10/05/23 15:25:56 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh
r6640 r6641 12 12 mysrc_path=$submitdir/SOURCES 13 13 export 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 17 16 regular_latlon=no 18 # Atmospheric resolution , for LMDZ/ORCHIDEE in regular mode17 # Atmospheric resolution for regular grid for LMDZ/ORCHIDEE, if regular_latlon=yes 19 18 resol_atm=144x142x79 20 19 # Coupled with ocean biogeochemistry (y/n) … … 23 22 # optmode=prod/dev/debug 24 23 optmode=prod 25 # Resolution if compiling LMDZ in regular mode without DYNAMICO26 # Use for example following "./compile_icolmdzor.sh -regular_latlon 144x142x79"27 regular_latlon=no28 24 # fcm_arch 29 25 fcm_arch=default … … 79 75 Options: [-full] Full recompilation of all components. This option can be added to all other options. 80 76 [-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. 82 79 [-debug / -dev / -prod] Level of optimization. One of these can be added to all other compile options. Default: -prod. 83 80 [-subconfig X] Set this option if you want to compile a sub-configuration. X can be: ICOLMDZORINCA, ICOLMDZOR, LMDZORINCA or LMDZOR. … … 94 91 ./compile_ipslcm7.sh -full 95 92 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 93 Example 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 99 97 100 98 Example 5: Compiltion of ORCHIDEE_trunk version … … 116 114 "-dev") optmode=dev ; shift ;; 117 115 "-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 ;; 119 118 "-subconfig") subconfig=$2 ; shift ; shift ;; 120 119 "-full") full_flag="-full"; full_nemo=y ; full_xios="--full" ; full_lmdz="-full" ; full_orch="-full" ; shift ;; … … 140 139 echo "Following options are set in current compiling:" >> $outfile 141 140 echo " 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}" >> $outfile141 echo " resol_atm=${resol_atm}, nemotop=${nemotop}" >> $outfile 143 142 echo " optmode = $optmode, parallel = $parallel, fcm_arch = $fcm_arch " >> $outfile 144 143 echo " 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.