爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 12313|回复: 7

有偿求助安装RegCM4.6.1 netcdf library not found

[复制链接]
发表于 2021-10-28 15:31:59 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 一大碗年糕 于 2021-10-29 21:24 编辑

安装RegCM4.6.1编译时LDFLAGS="-L/usr/local/netcdff/lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu/hdf5/serial"   #nc-config里面libs和flibs路径因为我c是用apt-get装的,fortran是自己编译的
./configure --prefix=/home/huangwenshuo/RegCM-4.6.1/SWAP/ CC=icc FC=ifort MPIFC=mpiifort


显示:

checking whether byte ordering is bigendian... no
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
configure: checking for NetCDF...
configure: checking for netcdf.h...
checking netcdf.h usability... yes
checking netcdf.h presence... yes
checking for netcdf.h... yes
configure: checking for libnetcdf.a...
checking for nc_close in -lnetcdf... no
configure: checking if we need to link jpeg library for HDF4...
checking for nc_enddef in -lnetcdf... no
configure: checking if we need to link hdf5 library...
checking for nc_sync in -lnetcdf... no
configure: checking if we need to link szlib library...
checking for nc_inq_libvers in -lnetcdf... no
configure: error: NetCDF library not found

有大佬知道是什么原因吗?家园里搜了下有说跟版本有关系,低版本就好了,试了4.3 4.5貌似都不行。如果要修改configure配置nc_lib路径具体应该是文件里哪个变量呢?


密码修改失败请联系微信:mofangbao
发表于 2021-10-28 16:56:26 | 显示全部楼层

回帖奖励 +5 金钱

!就就年糕
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

 楼主| 发表于 2021-10-28 17:39:37 | 显示全部楼层
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-10-28 17:54:47 | 显示全部楼层
本帖最后由 一大碗年糕 于 2021-10-28 17:56 编辑

可有偿,求远程安装也行,4.6版本的 wx:hwsjhd
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2021-10-28 18:32:46 | 显示全部楼层

回帖奖励 +5 金钱

我想试试 怎么联系
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-10-28 22:50:28 | 显示全部楼层
wjy_ecnu 发表于 2021-10-28 18:32
我想试试 怎么联系

感谢,我的wx:hwsjhd
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2021-11-24 22:19:35 | 显示全部楼层
wjy_ecnu 发表于 2021-10-28 18:32
我想试试 怎么联系

我也想安装RegCM,有偿,大佬可以帮个忙不?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2021-12-8 19:30:37 | 显示全部楼层
楼主解决了吗
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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