--has-hdf4 -> no
--has-pnetcdf-> no
--prefix -> /usr/local/netcdf4-needed
--includedir-> /usr/local/netcdf4-needed/include
--version -> netCDF 4.3.2
ThisnetCDF-Fortran 4.4.0 has been built with the following features:
--cc -> icc
--cflags -> -I/usr/local/netcdf4-needed/include-I/usr/local/netcdf4-needed/include
--fc -> ifort
--fflags -> -I/usr/local/netcdf4-needed/include
--flibs -> -L/usr/local/netcdf4-needed/lib -lnetcdff-L/usr/local/netcdf4-needed/lib -lnetcdf -lnetcdf
--has-f90 -> no
--has-f03 -> yes
--has-nc2 -> yes
--has-nc4 -> yes
--prefix -> /usr/local/netcdf4-needed
--includedir->/usr/local/netcdf4-needed/include
--version -> netCDF-Fortran 4.4.0
三、 安装 mpich
1. 下载安装包安装
a) tar xf mpich-3.3.tar.gz
b) cd mpich-3.3
c) ./configure --prefix=/usr/local/mpich
d) make -j 4
e) make -j 4 check
f) sudo make -j 4 install
2. 设置环境变量:
在 ~/.bashrc 添加一下内容:
export PATH=/usr/local/mpich/bin:${PATH}
export LD_LIBRARY_PATH=/usr/local/mpich/lib:${LD_LIBRARY_PATH}
export MANPATH=/usr/local/mpich/share/man:${MANPATH}
3. 使环境变量生效
source ~/.bashrc