Changeset 4921
- Timestamp:
- Apr 25, 2024, 4:23:42 PM (7 months ago)
- Location:
- BOL/script_install_amaury
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install_amaury/install_lmdz.sh
r4917 r4921 356 356 # Convert non-basic compiler 357 357 case $compiler in 358 mpif90) ncdf_compiler=$($compiler 2>&1 >/dev/null | head -n 1 | cut -f 1 -d ":")358 mpif90) ncdf_compiler=$($compiler --version | head -n 1 | cut -d " " -f -1) 359 359 esac 360 360 361 361 case $ncdf_compiler in 362 gfortran )opt1="-compiler gnu"; opt2="-CC gcc -FC gfortran -CXX g++";;362 gfortran | GNU) ncdf_compiler="gfortran"; opt1="-compiler gnu"; opt2="-CC gcc -FC gfortran -CXX g++";; 363 363 *) echo "unexpected compiler $ncdf_compiler for netcdf"; exit 1 364 364 esac … … 474 474 "2.6") 475 475 xios_http="http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS2/branches/xios-2.6";; 476 *) echo "XIOS: Error, bad argument for -branch ! Did not expect $xios_branch"; exit ;;476 *) echo "XIOS: Error, bad argument for -branch ! Did not expect $xios_branch"; exit 1;; 477 477 esac 478 478 … … 522 522 523 523 # Check parallel LMDZ+ORCH 524 if [[ (! $veget = "none") && (! $parallel = "none")&& ($used_lmdz_rev -lt 4894) ]]; then525 echo "LMDZ revision must be >=4894 for orchidee with parallel support"; exit 1524 if [[ (! $veget = "none") && $parallel = "none" && ($used_lmdz_rev -lt 4894) ]]; then 525 echo "LMDZ revision must be >=4894 for orchidee without parallel support. Upgrade lmdz or use -parallel mpi_omp."; exit 1 526 526 fi 527 527 }
Note: See TracChangeset
for help on using the changeset viewer.