Changeset 5331 for BOL/script_install_amaury/install_lmdz.sh
- Timestamp:
- Nov 15, 2024, 5:34:32 PM (5 weeks ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.