Changeset 5432
- Timestamp:
- Dec 19, 2024, 8:51:45 PM (4 weeks ago)
- Location:
- BOL/LMDZ_Setup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup/main.sh
r5428 r5432 21 21 # Version of the tar file on https://lmdz.lmd.jussieu.fr/pub/src 22 22 # Last "testing" version, thoroughly checked by the LMDZ team : contains LMDZ rev 4729 (2023-10-22) 23 version="20241018.trunk" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !! 24 svn="" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !! 23 version="20241121.trunk" # Preferencially use a "testing" version available 24 # on https://lmdz.lmd.jussieu.fr/pub/src_archives/testing/ 25 svn="" 25 26 # CONTACT LMDZ Team : 26 27 # email: poihl@listes.lmd.ipsl.fr … … 71 72 mthend=200501 72 73 73 74 74 # Expert options passed to setup.sh 75 75 rad=rrtm # Radiation oldrad/rrtm/ecrad … … 117 117 # Remember: some other options are only available in lmdz_env.sh and setup.sh. 118 118 # shellcheck disable=SC2086 119 ./setup.sh -v "$version" -d "$resol" -mthini "$mthini" -mthend "$mthend" -init "$init" -climato "$climato" -f "$freq" -p "$lmd_phys" -name "$name" $cosp $xios $nudging -r "$svn" -rad $rad -netcdf $netcdf -aerosols $aerosols 119 ./setup.sh -v "$version" -d "$resol" -mthini "$mthini" -mthend "$mthend" -init "$init" -climato "$climato" -f "$freq" -p "$lmd_phys" -name "$name" $cosp $xios $nudging -r "$svn" -rad $rad -netcdf $netcdf -aerosols $aerosols -veget $veget 120 120 else 121 121 echo "File $deffile inexistent"; exit 1 -
BOL/LMDZ_Setup/setup.sh
r5429 r5432 164 164 esac 165 165 166 im=$(echo "$resol" | cut -dx -f1) 167 jm=$(echo "$resol" | cut -dx -f2) 168 lm=$(echo "$resol" | cut -dx -f3) 169 166 170 yearini=$(echo "$mthini" | cut -c-4) 167 171 if [[ $freq = yr ]]; then stopsim=$(echo "$mthend" | cut -c-4); else stopsim=$mthend; fi … … 181 185 # omp=2 for veget=CMIP6+XIOS beacause of a bug in ORCHIDEE/src_xml/xios_orchidee.f90 182 186 ###################################################################### 183 jm=$(echo "$resol" | cut -dx -f2)184 187 (( mpi = ( jm + 1 ) / 2 )) 185 188 omp=8 … … 215 218 # (Temporary) Constraints for aerosols=spla : 216 219 # --> resolution 128x88x79 and rad=rrtm 217 if [[ $aerosols = "spla" && $ resol != "128x88x79" ]]; then220 if [[ $aerosols = "spla" && ${im}x${jm} != "128x88" ]]; then 218 221 echo 'STOP: For now, <aerosols=spla> requires <resol=128x88x79>, and uses the zoomed grid from gcm.def_zNAfrica_BiJe, for which forcing & initial files are available' 219 222 echo "Right now resol=<$resol>" … … 275 278 # Choix de la grille verticale 276 279 ###################################################################### 277 lm=$(echo "$resol" | cut -dx -f3)278 280 if [ ! -f "DEF/L$lm.def" ]; then 279 281 echo "STOP: Résolution verticale non prévue - créer un fichier DEF/L$lm.def"; exit 1
Note: See TracChangeset
for help on using the changeset viewer.