爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 8290|回复: 19

安装netcdf 时configure 时提示error

[复制链接]

新浪微博达人勋

发表于 2016-10-15 09:45:01 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
最近在安装netcdf 时configure 时提示error can‘t find or link to the haf5 library

我configure的配置是这样的
./configure --prefix=/public/soft/netcdf-intel2013new  --with-hdf5=/public/soft/hdf5-1.8.9 --with-sizp=/public/soft/szip-2.1  --with-zlib=/public/soft/zlib-1.2.6 CC=icc CXX=icpc F77=ifort  FC=ifort  F90=ifort


请教下各路大神, 有安装安过 netcdf 的 给点 指教吧。
file:///C:/Users/daimx/Documents/Tencent%20Files/704076792/Image/C2C/QO0H~J%60D%7BZ)@3TXCZOIXUIN.png file:///C:/Users/daimx/Documents/Tencent%20Files/704076792/Image/C2C/QO0H~J%60D%7BZ)@3TXCZOIXUIN.png
file:///C:/Users/daimx/Documents/Tencent%20Files/704076792/Image/C2C/QO0H~J%60D%7BZ)@3TXCZOIXUIN.png


密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-10-15 09:57:05 | 显示全部楼层
安装的时候把hdf禁用,是一个选择。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-10-15 10:03:04 | 显示全部楼层
是不是你with后面hdf5的路径设置不正确?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-10-15 10:31:24 | 显示全部楼层
ayayaya3456 发表于 2016-10-15 10:03
是不是你with后面hdf5的路径设置不正确?

路径是正确的, 刚刚本来想把后面错误的图片贴上来,没贴上, 最后提示是
configure: error: Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.
提示禁用--disable-netcdf-4 ,  禁用后确实是没有报错, 但禁用了安装的就不完整
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-10-15 10:32:12 | 显示全部楼层
mxgang 发表于 2016-10-15 09:57
安装的时候把hdf禁用,是一个选择。

这个需要 hdf5库啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-10-15 10:39:39 | 显示全部楼层
daidai2016 发表于 2016-10-15 10:31
路径是正确的, 刚刚本来想把后面错误的图片贴上来,没贴上, 最后提示是
configure: error: Can't find ...

你的netcdf是什么版本的?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-10-15 10:47:16 | 显示全部楼层
ayayaya3456 发表于 2016-10-15 10:39
你的netcdf是什么版本的?

哦 ,忘记说明 了, netcdf 是 4.4.1  hdf是 1.8.9  zlib是1.2.6
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-10-15 10:51:22 | 显示全部楼层
daidai2016 发表于 2016-10-15 10:47
哦 ,忘记说明 了, netcdf 是 4.4.1  hdf是 1.8.9  zlib是1.2.6

我建议你用zlib1.2.8,hdf不变,netcdf4.1.3,不知道能不能管用,你试试吧
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-10-15 10:54:37 | 显示全部楼层
ayayaya3456 发表于 2016-10-15 10:51
我建议你用zlib1.2.8,hdf不变,netcdf4.1.3,不知道能不能管用,你试试吧

好的, 我试下, 感谢 !
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-10-15 11:05:26 | 显示全部楼层
--with-hdf5=/public/soft/hdf5-1.8.9
把这个删掉
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表