- 积分
- 16159
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-8-29
- 最后登录
- 1970-1-1
|
发表于 2016-9-22 21:40:08
|
显示全部楼层
已经解决
3、安装necdf
下载请在官网下载 http://www.unidata.ucar.edu/downloads/netcdf/index.jsp
netcdf 是安装时候最坑的,需要先安装最新版本netcdf C 版本:The Latest Stable netCDF-C Release, tar.gz form[size=13.3333px] ,
然后再安装fortran 版本:The Latest Stable netCDF-Fortran Release, tar.gz form[size=13.3333px] 。
安装时遇到问题很多问题,但是搜索中文时候都可以解决,最主要的就是CPPFLAGS与LDFLAGS的设置,使用了无数解决方法也不行(如在~/.bashrc中设置不行),最后在netcdf的网站上看到了别人的提问与回复,终于解决。
错误提示:compilinga test with HDF5 failed. Either hdf5.h cannot be found or…
./configure--prefix=/scratch/mycomputername/packages CPPFLAGS=-I/scratch/mycomputername/packages/include LDFLAGS=-L/scratch/computername/packages/lib (注:写成一行)
make
make check
make install
告别双系统:在Win10周年更新的linux子系统上安装WRF 3.8.1
http://bbs.06climate.com/forum.p ... 1&fromuid=15734
(出处: 气象家园)
|
|