[ncl-install] Installing ncl in a centos6.5 machine

Marcelo A Somos Valenzuela msomos at utexas.edu
Thu Apr 23 12:47:40 MDT 2015


Hello,

I fixed my problem, I just needed to declare

export PATH=/usr/local/bin/:$PATH
export NCARG_ROOT=/usr/local


Thank you though

Marcelo

On Thu, Apr 23, 2015 at 1:34 PM, Marcelo A Somos Valenzuela <
msomos at utexas.edu> wrote:

> Hello
>
> I am trying to use ncl for which I download a binary file with a
> precompile ncl 6.3 (ncl_ncarg-6.3.0.Linux_RHEL6.4_x86_64_gcc447.tar.gz) but
> I am receiving errors when I trying to execute ncl
> First of all, as soon as I untar this file it seems that it copied the lib
> and bin folder on /usr/local/ folder.
>
> This is the linux machine I am using
>
> $  uname -m
> *x86_64*
> $   cat /etc/issue
> *CentOS release 6.6 (Final)*
> *Kernel \r on an \m*
>
> $   gcc --version
> *gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)*
>
> And this is the error I got,
>
> $ ncl
>  Copyright (C) 1995-2015 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.3.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":1844]:NhlLoadColormapFiles: Invalid directory
> encountered in colormap path specification
> Segmentation fault (core dumped)
>
> Then I set * export NDV_COLORMAP_PATH=/usr/local/lib/ncarg/colormaps/*
>
> I got this error
> $ ncl
> Copyright (C) 1995-2015 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.3.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]
> Segmentation fault (core dumped)
>
> Could you please let me know if you can detect what I am missing?
>
> Thank you
>
> --
> --
> Marcelo Somos Valenzuela, Ph.D.
> The University of Texas at Austin
> Environmental and Water Resources Engineering
> Phone: +1-512-657-9017
> Skype: masomos
>



-- 
-- 
Marcelo Somos Valenzuela, Ph.D.
The University of Texas at Austin
Environmental and Water Resources Engineering
Phone: +1-512-657-9017
Skype: masomos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20150423/004f66b6/attachment.html 


More information about the ncl-install mailing list