立即注册 登录
气象家园 返回首页

残月的个人空间 http://bbs.06climate.com/?118 [收藏] [复制] [分享] [RSS]

留言板

facelist doodle涂鸦板

您需要登录后才可以留言 登录 | 立即注册


问题少女 2017-3-7 21:26
您好!

首先非常感谢您无私的分享!
我下载了您的帖子http://bbs.06climate.com/forum.php?mod=viewthread&tid=988&extra=&page=1中fortran读取nc数据的程序,放在Linux下和Windows下都进行了测试,可是在都有一些问题,问题如下:
1、在Linux中运行ifort nc.f90后出现如下错误:
netcdf.inc(4): remark #7916: OBJCOMMENT is not supported on this platform.
!DEC$OBJCOMMENT LIB:'netcdf.LIB'
-----^
/tmp/ifortJvJGUd.o: In function `MAIN__':
nc.f90:(.text+0x22e): undefined reference to `nf_open_'
nc.f90:(.text+0x266): undefined reference to `nf_inq_'
nc.f90:(.text+0x2d3): undefined reference to `nf_inq_dim_'
nc.f90:(.text+0x382): undefined reference to `nf_inq_var_'
nc.f90:(.text+0x4c9): undefined reference to `nf_inq_attname_'
nc.f90:(.text+0x518): undefined reference to `nf_inq_atttype_'
nc.f90:(.text+0x567): undefined reference to `nf_inq_atttype_'
nc.f90:(.text+0x31a7): undefined reference to `nf_strerror_'
nc.f90:(.text+0x3200): undefined reference to `nf_strerror_'
nc.f90:(.text+0x3259): undefined reference to `nf_strerror_'
nc.f90:(.text+0x32b2): undefined reference to `nf_strerror_'
nc.f90:(.text+0x3314): undefined reference to `nf_strerror_'
/tmp/ifortJvJGUd.o:nc.f90:(.text+0x3376): more undefined references to `nf_strerror_' follow

2、在Windows下运行出现如下错误:
error #5102: Cannot open include file 'netcdf.inc'

我是严格按照楼主的说明进行操作的,不知道问题出在哪里?请问您有遇到过这样的错误码?如果遇到过是如何解决的呢?
打扰您了!
kongfeng0824 2014-5-14 11:40
残月: 能请教下您关于Kalman 滤波的问题吗?
可以给我发邮件kongfeng0824@qq.com
kakaxiao 2013-3-31 19:36
车大~小马甲好认
蔚蓝情怀 2013-3-25 16:16
大侠 你好 这个FORTRAN读NC文件时候 对于逻辑数据读不了 初始文件中没有定义逻辑数据 麻烦问问怎么改啊?

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

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

返回顶部