安装Netcdf4.1.3,出现
> checking for Fortran flag to compile .f90 files... unknown > configure: error: Fortran could not compile .f90 files
export FC=gfortran
export F90FLAGS='-fPIC'
./configure --with-hdf5=/usr/local --with-zlib=/usr/local --with-szlib=/usr/local \
--prefix=/usr/local --enable-netcdf-4 --disable-dap
make all install >& make-output
bash/ksh: export FC=gfortran csh/tcsh: setenv FC gfortran | ||
F90FLAGS | Fortran 90 compile flags | bash/ksh: export F90FLAGS='-fPIC' |