Re: [ncl-talk] Trouble running NCL on Cygwin/X

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri, 16 Nov 2007 10:29:37 -0700 (MST)

Hi William,

For future reference, we now have an "ncl-install" email list for
posting questions like this. I will CC that group instead of ncl-talk.

The error message that you included below seems to indicate
that NCARG_ROOT is not set to /usr/local. It says:

   warning:["Palette.c":1533]:NhlLoadColormapFiles: Invalid colormap directory:
   /us/lib/ncarg/colormaps

Note the missing "r" in "usr".

If you type "ncargpath lib" what does it report? Also, if you type
"ls /usr/local/lib/ncarg", do you see any files and directories?

Also, I don't recommend running NCL by typing "bin/ncl". Instead, you
should add $NCARG_ROOT/bin to your search path, and run just "ncl".
See:

   http://www.ncl.ucar.edu/get_started.shtml#SetUpEnvironment

for information on setting up your path.

--Mary

On Fri, 16 Nov 2007 Valkhorn_at_aol.com wrote:

> I'm using Cygwin/X and have installed NCL. However when I try to run it I
> get this error message:
>
> $ bin/ncl xy04n.ncl
> Copyright (C) 1995-2007 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.0.0
> The use of this software is governed by a License Agreement.
> See _http://www.ncl.ucar.edu/_ (http://www.ncl.ucar.edu/) for more details.
> /lib/ncarg/sysresfiled System Resource File /usr/local
> warning:WorkstationClassInitialize:Unable to access rgb color database -
> named colors unsupported:[errno=2]
> warning:["Palette.c":1533]:NhlLoadColormapFiles: Invalid colormap directory:
> /us/lib/ncarg/colormaps
> Segmentation fault (core dumped)
>
> I checked my variables and they were set correctly:
>
> $ printenv DISPLAY
> :0.0
>
> $ printenv NCARG_ROOT
> /usr/local
>
> Does anyone have any idea why this is going on? I've checked the
> documentation and I am using Cygwin/X and the variables appear to be set up correctly.
>
> -William
>>
>
>
>
>
> ************************************** See what's new at http://www.aol.com
>
_______________________________________________
ncl-install mailing list
ncl-install_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Nov 16 2007 - 10:29:37 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 19 2007 - 15:24:45 MST