[ncl-install] Have a problem

Mary Haley haley at ucar.edu
Fri Oct 5 12:35:22 MDT 2012


Hi Louis,

It looks like NCARG_ROOT didn't get set. Maybe you need to put the commands in the .profile file instead…

--Mary

On Oct 4, 2012, at 2:18 PM, 孙路 wrote:

> Hello,
> 
>    I want to install NCL in CentOS5,with GCC4.12. I have set my envionment variables as what I think is correct in .bashrc
> 
> # .bashrc
> 
> # Source global definitions
> if [ -f /etc/bashrc ]; then
>        . /etc/bashrc
> fi
> 
> # User specific aliases and functions
> #NCL
> export NCARG_ROOT=/disk1/home/lsun/NCL
> export PATH=/disk1/home/lsun/NCL/bin:$PATH
> export DISPLAY=my server's IP:0
> 
> However, when I type ./ncl in the directory 'bin'
> it shows
> 
> 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
> 
> 
> I hope that I have succeeded expressing my problem, thanks for your help
> 
> sincerely
> 
> Louis
> 
> 
> 
> 
> 
> _______________________________________________
> 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