- 积分
- 62
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-9-7
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
netcdf-4.1.3安装
第一步configure :/opt/tempfile/netcdf/netcdf-4.1.3/configure --prefix=/usr/local/netcdf-4.1.3 正常
第二步:make 出错,错误如下:
make[3]: *** [fort-attio.lo] 错误 1
make[3]: Leaving directory `/usr/local/netcdf-4.1.3/fortran'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/usr/local/netcdf-4.1.3/fortran'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/local/netcdf-4.1.3'
make: *** [all] 错误 2
网上能搜到的办法尝基本都尝试了,错误依旧。
最后,采用:--disable-fortran-type-check 即 /opt/tempfile/netcdf/netcdf-4.1.3/configure --prefix=/usr/local/netcdf-4.1.3 --disable-fortran-type-check
然后make 顺利通过。
现请教已安装过regcm的朋友们,这样安装netcdf是否有误。另,是否有高手可帮着解释下原因。求助~~~~~~
ps:系统RHEL6.3 (32位虚拟机)gcc4.6.1,并测 用gcc 、gfortran 分别成功测了“hello word”。
|
|