Changeset 5027
- Timestamp:
- Jul 8, 2024, 4:42:50 PM (2 months ago)
- Location:
- BOL/script_install_amaury
- Files:
-
- 3 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install_amaury/install_lmdz.sh
r5008 r5027 52 52 # Valeur par défaut des parametres 53 53 svn_lmdz="" 54 version="202 31022.trunk"54 version="20240508.CM7" 55 55 56 56 netcdf=1 … … 329 329 tar xf "modipsl.$version.tar" &>> get.log 330 330 \rm "modipsl.$version.tar" 331 fi 332 } 333 334 function create_model_tar { # TODO TEMP while waiting for tar: we copy the base from a local path = IPSLCM7 + ORCH2.2 8504 335 if [[ ! -d ../MODEL_REF ]]; then 336 cd .. 337 mkdir MODEL_REF 338 cd MODEL_REF 339 # Base is IPSLCM7 340 svn co --username icmc_users https://forge.ipsl.fr/igcmg/svn/modipsl/trunk modipsl 341 cd modipsl/util 342 ./model IPSLCM7_work 343 # Remove unused components 344 rm -rf ../oasis3-mct 345 cd ../modeles 346 rm -rf ICOSA_LMDZ ORCHIDEE_4 ORCHIDEE_2_2 NEMO DYNAMICO XIOS INCA 347 # Retrieve orch version 348 svn co svn://forge.ipsl.fr/orchidee/branches/ORCHIDEE_2_2/ORCHIDEE -r 8504 349 # Correct orchidee bug in 8504 350 sed -i"" -e "s/ts.second=dt_routing/ts%second=dt_routing/" -e "380,390 s/USE grid/USE grid, temp_disabled => contfrac/" ORCHIDEE/src_sechiba/routing_native_flow.f90 351 352 echo "STOP: INITIALIZED, PLEASE RELAUNCH ONCE"; exit 1 353 fi 354 355 if [[ ! -d "$MODEL" ]]; then 356 \cp -r ../MODEL_REF . 357 mv MODEL_REF "$MODEL" 358 fi 359 MODEL=$(readlink -e -f "$MODEL"); echo "$MODEL" # absolute path 331 cd - &> /dev/null 332 fi 360 333 } 361 334 … … 914 887 read_cmdline_args "$@" 915 888 ensure_correct_option_combinations 916 #download_model 917 create_model_tar 889 download_model 918 890 init_arch 919 891 check_available_software
Note: See TracChangeset
for help on using the changeset viewer.