爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 10189|回复: 4

[其他] Cygwin中的NCL运行问题

[复制链接]

新浪微博达人勋

发表于 2014-12-18 11:36:34 | 显示全部楼层 |阅读模式

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

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

x
按照帖子 “Windows系统下安装NCL最全经验 http://bbs.06climate.com/forum.php?mod=viewthread&tid=19289&fromuid=24715(出处: 气象家园)”安装完NCL,分别运行ncl_convert2nc 和 ncl 两个命令,出现如下问题(红色加粗标出),想请问是此类问题,如何解决?(其中命令一的问题,看似与子父进程有关)

命令一:$ ncl_convert2nc ./*.grb2
Processing file: prate.03.2014121400.daily.grb2...
Copyright (C) 1995-2011 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
      0 [main] ncl 2340 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x2B30000) != child(0x240000)
fatal:systemfunc: cannot create child process:[errno=11]
fatal:Execute: Error occurred at or near line 265 in file /tmp/tmp8292.ncl


Processing file: prate.04.2014121400.daily.grb2...
Copyright (C) 1995-2011 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
      0 [main] ncl 6500 child_info_fork::abort: C:\cygwin\bin\cygpixman-1-0.dll: Loaded to different address: parent(0x210000) != child(0x320000)
fatal:systemfunc: cannot create child process:[errno=11]
fatal:Execute: Error occurred at or near line 265 in file /tmp/tmp8292.ncl



命令二:$ ncl xy04n.ncl
Copyright (C) 1995-2011 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.0.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
warning:GKS:GOPWK: --X driver error: error opening display
warning:GKS:GESC: --SPECIFIED WORKSTATION IS NOT OPEN
fatal:Workstation with PID#8 is not open
fatal:Unable to open Workstation-Can't Create
fatal:Unable to access object with id:-4
fatal:_NhlCreate:Invalid Parent id #-4
fatal:NhlDraw: Invalid Layer Id: -4
fatal:Unable to update Workstation with PID#-4
fatal:Unable to clear Workstation with PID#-4
fatal:Execute: Error occurred at or near line 158 in file xy04n.ncl


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

新浪微博达人勋

发表于 2014-12-18 13:45:58 | 显示全部楼层
1.用一个文件试试
2.打开x server,或者在脚本中把workstation改成pdf、png之类的
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-12-18 19:44:40 | 显示全部楼层
longlivehj 发表于 2014-12-18 13:45
1.用一个文件试试
2.打开x server,或者在脚本中把workstation改成pdf、png之类的

收到,明白,我试试。如果还不行的话,明天当面向版主请教。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-10-14 19:51:09 | 显示全部楼层
我安装好出现了第二个问题,请问楼主解决了么
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-9-4 20:30:11 | 显示全部楼层
lzc90 发表于 2014-12-18 19:44
收到,明白,我试试。如果还不行的话,明天当面向版主请教。

楼主解决了吗?
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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