爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 6606|回复: 10

ncl运行ncargex cpex08出错求助

[复制链接]

新浪微博达人勋

发表于 2014-9-26 22:31:03 | 显示全部楼层 |阅读模式

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

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

x
     小弟最近在学ncl,用的版本是ncl_ncarg-6.2.1.Linux_RHEL6.4_x86_64_intel1215.tar
    以装intel2013版的icc与ifort编译器
    可是,按照教程运行ng4ex gsun01n的时候可以出图没问题,可是,当运行ncarg cpex08的时候,发现提示缺少很多库,如下:
ld: cannot find -lXpm
ld: cannot find -lX11
ld: cannot find -lXext
ld: cannot find -lcairo
ld: cannot find -lfontconfig
ld: cannot find -lpixman-1
ld: cannot find -lfreetype
ld: cannot find -lexpat
ld: cannot find -lpng
可是,当我用yum list 命令去查找的时候,发现这些库全部都有。。请问有木有大神知道问题出在哪里了么。。。

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

新浪微博达人勋

 楼主| 发表于 2014-9-26 22:35:39 | 显示全部楼层
求人来帮忙啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-27 09:37:02 | 显示全部楼层
库的路径、环境变量设置是否有问题。。。一般都装的是gcc的版本
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-9-27 10:02:27 | 显示全部楼层
Sunnystone24 发表于 2014-9-27 09:37
库的路径、环境变量设置是否有问题。。。一般都装的是gcc的版本

可是我装的intel编译器啊。。可以装gcc的版本吗?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-9-27 22:53:19 | 显示全部楼层
应该不能吧。。。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-3-12 11:02:00 | 显示全部楼层
运行ncarg cpex08也是 不出图,不知道是不是ncl和intel编译器不匹配的原因,楼主解决了没有?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-4-25 22:30:14 | 显示全部楼层
[Re: ncargex cpex08 fails to compile and link]
http://www.ncl.ucar.edu/Support/install_archives/2011/0163.html
1. If all you care about is running NCL, then it is not important that you get the "ncargex cpex08" command to work.
2. This is for users who need to compile NCAR Graphics C or Fortran programs.
-----------------------------------------------------
如果是後者(Fortran programming NCARG), 請參考:
http://bbs.06climate.com/forum.p ... amp;extra=page%3D22
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-1-24 10:06:55 | 显示全部楼层
我使用该命令时报错找不到-lexpat!也有那个库,不知怎么回事!NCL6.3.0,netcdf4.1.3,不知是不是netcdf版本低了!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-1-24 13:19:32 | 显示全部楼层
多谢分享~~~~~
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

发表于 2016-2-12 12:41:48 | 显示全部楼层
求教
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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