- Timestamp:
- Nov 15, 2024, 5:34:32 PM (2 months ago)
- Location:
- BOL/script_install_amaury
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install_amaury/install_lmdz.sh
r5247 r5331 96 96 cosp="none" 97 97 aerosols=0 98 strataer=0 98 99 inlandsis=0 99 100 … … 207 208 "-veget") veget=$2; shift; shift;; 208 209 "-spla") aerosols=1; shift;; 210 "-strataer") strataer=1; shift;; 209 211 "-inlandsis") inlandsis=1; shift;; 210 212 "-make_j") make_j=$2; shift; shift;; … … 246 248 else 247 249 opt_aer=""; suff_aer="" 250 fi 251 252 if [[ $strataer = 1 ]]; then 253 opt_strataer="-strataer true" 254 else 255 opt_strataer="" 248 256 fi 249 257 … … 415 423 cp -f "$default_env_path" "$MODEL/modipsl/modeles/$component/arch" &> /dev/null || true # allow failure if we're copying the file to itself 416 424 417 # Use local .path and .fcm i savailable, otherwise default425 # Use local .path and .fcm if available, otherwise default 418 426 if [[ ! -f "$MODEL/modipsl/modeles/$component/arch/arch-$arch.path" ]]; then 419 427 cp -f "$default_path_path" "$MODEL/modipsl/modeles/$component/arch" … … 703 711 makelmdz="makelmdz_fcm $optim_flag -arch $arch -j $make_j" 704 712 local para_compile_opt="-mem -parallel $parallel"; if [[ $parallel = "none" ]]; then para_compile_opt=""; fi 705 echo "$jobcmd ./$makelmdz $opt_rad $opt_cosp $opt_makelmdz_xios $opt_aer $opt_inlandsis $opt_ isotopes -p $compphysiq -d ${grid_resolution} -v $fcm_veget_version $para_compile_opt $fortran_file" > compile.sh713 echo "$jobcmd ./$makelmdz $opt_rad $opt_cosp $opt_makelmdz_xios $opt_aer $opt_inlandsis $opt_strataer $opt_isotopes -p $compphysiq -d ${grid_resolution} -v $fcm_veget_version $para_compile_opt $fortran_file" > compile.sh 706 714 echo "Compiling lmdz using $(\cat compile.sh) (log: $lmdzlog) $(date)" 707 715 chmod +x ./compile.sh -
BOL/script_install_amaury/test_convergence.sh
r5180 r5331 1 1 #!/bin/bash 2 3 # Quick tool to check convergence for a number of flags between two revs 2 4 3 5 set -eu … … 55 57 56 58 # Check some additional params on sparse configs 57 # comp_bench "$rev1" "$rev2" "-xios -rad oldrad -parallel $para -veget none -compilephysiq lmd" # xios broken for 5017 59 comp_bench "$rev1" "$rev2" "-xios -rad oldrad -parallel mpi_omp -veget none -compilephysiq lmd" 58 60 for para in "none" "mpi_omp"; do 59 comp_bench "$rev1" "$rev2" "-cosp v1 -rad oldrad -parallel $para -veget none -compilephysiq lmd" # cosp v1 (no v2 because broken atm)61 comp_bench "$rev1" "$rev2" "-cosp v1 -rad oldrad -parallel $para -veget none -compilephysiq lmd" # cosp v1 (no 2 because broken atm) 60 62 comp_bench "$rev1" "$rev2" "-debug -rad oldrad -parallel $para -veget none -compilephysiq lmd" # debug 61 63 done 64 comp_bench "$rev1" "$rev2" "-cosp v2 -xios -rad oldrad -parallel mpi_omp -veget none -compilephysiq lmd" # cosp v1 (no 2 because broken atm) 62 65 63 66 local origdim="$dim" … … 76 79 } 77 80 78 comp_full 5 159 501779 comp_bench 5159 5150 "-xios -rad oldrad -parallel mpi_omp -veget none -compilephysiq lmd" # xios broken for 5017 81 comp_full 5316 5217 82 #comp_bench 5205 5205 "-rad oldrad -parallel none -veget CMIP6 -compilephysiq lmd -debug" 80 83 81 84
Note: See TracChangeset
for help on using the changeset viewer.