[ncl-install] NCARG under Cygwin
Mary Haley
haley at ucar.edu
Mon Sep 12 10:09:38 MDT 2011
Hi,
It looks like you don't have the NCARG_ROOT environment variable set.
Please see:
http://www.ncl.ucar.edu/FAQ/#err_msgs_001
for more information.
--Mary
On Sep 12, 2011, at 9:18 AM, Benoît Brancheriau wrote:
> Dear Sir or Madam,
>
> I am trying to run NCAR GRaphics through Cygwin, under Windows 7 32 bits. I followed the steps of the process described on http://www.ncl.ucar.edu/Download/cygwin.shtml#SetUpDisplay
>
> I got no major problem until the end, when I tried to run $ncl xy04n.ncl and got this error message:
>
> $ 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:Unable to Get System Resource File Name?
> warning:Unable to load System Resource File (null)
> fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL
> fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL
> warning:Unable to Get System Resource File Name?
> warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]
> NDV_COLORMAP_PATH environment variable not set:
> defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps
> warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification
> fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL
> warning:Unable to Get System Resource File Name?
> Segmentation fault (core dumped)
>
> I precise I got the right responses to the commands printenv DISPLAY ( i.e. ":0.0") and ncl -V (i.e. "6.0.0"). All the files seem to be present. The only adjustment I had to make is in the command
> cp $NCARG_ROOT/lib/ncarg/nclex/xyplot/xy04n.ncl .
>
> I used /usr/local instead of $NCARG_ROOT.
>
>
> Do you see where all those errors come from ?
>
> Thanks in advance for your response,
> Benoit Brancheriau
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20110912/a29cf348/attachment.html
More information about the ncl-install
mailing list