[ncl-install] newbie install problem
Mary Haley
haley at ucar.edu
Mon May 11 08:34:05 MDT 2009
On Sat, 9 May 2009, Benjamin Laken wrote:
> I am having a problem getting NCL to run, I have installed CYGWIN, and
> NCL, and I have changed my .basch file to have the lines included:*
>
> export NCARG_ROOT=/usr/local
> export PATH=/usr/local/bin:$PATH
>
> export DISPLAY=:0.0
>
> *(Although I dont have a .cshrc file in my home directory so i have not
> added the lines *
>
> setenv NCARG_ROOT /usr/local
> setenv PATH /usr/local/bin:$PATH
>
> setenv NCARG_ROOT /usr/local
> set path=($path $NCARG_ROOT/bin) )
>
>
> *when I attempt to generate the NCL test using... *
>
> cp $NCARG_ROOT/lib/ncarg/nclex/xyplot/xy04n.ncl .
> ncl xy04n.ncl
>
> *I get the following response ...*
>
> NCARG_ROOT: Undefined variable
Ben,
You said you added the two lines to the ".basch" file. I assume
this is a typo, and that you meant ".bashrc" file?
Your NCARG_ROOT is not getting set when you login. You need to
make sure that you are not getting any error messages when
you login, because this may indicate that you have some
bad instructions in one or more of your .* files, causing
later instructions to not be executed properly.
Also, double-check that you added NCARG_ROOT to the correct file.
Maybe your environment variables are being set in another file,
and this is the one you should use?
--Mary
> futhremore when i type 'ncl' in to my x window it loads up with the
> following errors -*
>
> 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]
> warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid directory
> encountered in colormap path specification
>
> *Any ideas how I can fix this and get NCL up and running?
>
> Thanks in advance,
> --Ben*
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
More information about the ncl-install
mailing list