- Timestamp:
- Jan 8, 2019, 3:05:10 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/install_netcdf4.0.1.bash
r1925 r2057 7 7 install_dir=$(pwd)/netcdf-4.0.1 8 8 compiler_suite=gnu 9 configure_options="" 9 10 ######################################################################### 10 11 # Options … … 18 19 [ -compiler gnu | intel ] compiler suite (Fortran, C, C++) to use 19 20 (default: $compiler_suite) 21 [ -options opt ] additional options string 22 for the NetCDF configure script 23 (default: $configure_options) 20 24 ........fin 21 25 exit ;; 22 26 "-prefix") install_dir=$2 ; shift ; shift ;; 23 27 "-compiler") compiler_suite=$2 ; shift ; shift ;; 28 "-options") configure_options=$2 ; shift ; shift ;; 24 29 *) echo "Error, bad argument $1" ; $0 -h ; exit 25 30 esac … … 72 77 fi 73 78 74 ./configure --prefix=$install_dir > configure.log 2>&179 ./configure $configure_options --prefix=$install_dir > configure.log 2>&1 75 80 76 81 make > make.log 2>&1
Note: See TracChangeset
for help on using the changeset viewer.