ubuntu 安装netcdf
netcdf 版本为netcdf3.6.3
下载netcdf 谷歌上有
在homne下解压
在终端进入解压文件
有install intstall里面有步骤按步骤操作 例如
To install netCDF, uncompress and unpack the tar file, then change to
the distribution directory:
gunzip netcdf-3.6.2.tar.gz
tar -xf netcdf-3.6.2.tar
cd netcdf-3.6.2
Now run the usual configure, make check, make install cycle:
./configure
make check
make install
在make install 如果权限不够就输入 sudo make install
如果按以上安装
在FVCOM 中makefile 中netcdf修改为
FLAG_6 = -DNETCDF_IO
IOLIBS = -L/usr/local/lib -lnetcdf
IOINCS = -I/usr/local/include
编译可以通过
下载netcdf 谷歌上有
在homne下解压
在终端进入解压文件
有install intstall里面有步骤按步骤操作 例如
To install netCDF, uncompress and unpack the tar file, then change to
the distribution directory:
gunzip netcdf-3.6.2.tar.gz
tar -xf netcdf-3.6.2.tar
cd netcdf-3.6.2
Now run the usual configure, make check, make install cycle:
./configure
make check
make install
在make install 如果权限不够就输入 sudo make install
如果按以上安装
在FVCOM 中makefile 中netcdf修改为
FLAG_6 = -DNETCDF_IO
IOLIBS = -L/usr/local/lib -lnetcdf
IOINCS = -I/usr/local/include
编译可以通过