Re: NCL and Apple Leopard

From: Erik Noble <enoble_at_nyahnyahspammersnyahnyah>
Date: Tue, 6 Nov 2007 16:43:59 -0500

OK.
NCL 4.3.1 seems to work on Apple (Leopard) now.

I had to make sure the NCAR_GRAPHICS is "only" in /usr/local.

Erik_at_noble:/Users/Erik:ncl
 Copyright (C) 1995-2007 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 4.3.1
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
ncl 0> exit
Erik_at_noble:/Users/Erik:ng4ex gsun01n

NCAR Graphics NCL Example <gsun01n>

This example was set up to display the output to an
X11 window.

  Copying gsun01n.ncl

Running NCL...
 Copyright (C) 1995-2007 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 4.3.1
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

Finished running 'ncl < gsun01n'...

Erik_at_noble:/Users/Erik:

On Nov 6, 2007 2:09 PM, Erik Noble <enoble_at_giss.nasa.gov> wrote:
> Hi Mary,
>
> I have tried your suggestion as well. I installed NCAR Graphics in
> /usr/local too and changed all of my profiles to point to this root
> directory.
>
> I am still getting this error:
>
> Erik_at_noble:/Users/Erik:ncl
> Copyright (C) 1995-2007 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 4.3.1
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> warning:Unable to load System Resource File /usr/local/lib/ncarg/sysresfile
> warning:WorkstationClassInitialize:Unable to access rgb color database
> - named colors unsupported:[errno=2]
> warning:["Palette.c":1533]:NhlLoadColormapFiles: Invalid colormap
> directory: /usr/local/lib/ncarg/colormaps
> ncl 0>
>
> For clarity, the following is my .bash_Profile and my .bashrc profile.
> (I have a lot in my path, I know).
>
> export FC=ifort
> export CC=icc
> export https_proxy=10.116.34.1:80
> export DISPLAY=:0.0
> export NCARG_ROOT=/usr/local/
> # export NCARG_ROOT=/opt/intel/ncarg/
> export PATH=$NCARG_ROOT/bin:$PATH
> export MANPATH=$NCARG_ROOT/man:$MANPATH
> export NETCDF=/opt/intel/netcdf-4.0-beta/bin
> # export NETCDF=/opt/intel/netcdf-3.6.2/
> # nclalias ncl=/opt/intel/bin/ncl
> export LD_LIBRARY_PATH=/opt/intel/fce/10.0.020/lib
> PATH=$PATH:$HOME:~/bin:/usr/bin:/bin/etc:/usr/X11R6/bin:$NCARG_ROOT/bin:/usr/local:/usr/local/bin:/usr/local/ncarg:/opt/local/bin:/opt/local/sbin:/opt/intel/bin:/opt/intel/netcdf-4.0-beta/bin:/opt/intel/netcdf-3.6.2/bin:/opt/intel/fce/10.0.020/bin:/opt/intel/cce/10.0.020/bin:
> export PATH
>
>
> The error keeps asking for a sysresfile. any suggestions would be
> greatly appreciated.
>
> -Erik
>
>
> On Nov 6, 2007 11:57 AM, Erik Noble <enoble_at_giss.nasa.gov> wrote:
> > My root directory where i installed everything, including NCL is
> > /opt/intel/. NCAR Graphics is in there too under /opt/intel/ncarg.
> >
> > Could there be another reason I am getting the error when I type "NCL"
> > in my terminal window?
> > -Erik
> >
> >
> > On Nov 6, 2007 11:51 AM, Mary Haley <haley_at_ucar.edu> wrote:
> > >
> > > Erik,
> > >
> > > It looks to me like your NCARG_ROOT environment variable isn't
> > > set correctly. It looks like it is set to /opt/intel/ncarg. Is this
> > > indeed where you installed the software? NCARG_ROOT
> > > needs to be set to the *root* location of where you untarred the
> > > binary tar file. For example, if you untarred the file in
> > > the /usr/local directory, then NCARG_ROOT should be set to
> > > /usr/local.
> > >
> > > --Mary
> > >
> > >
> > >
> > > On Tue, 6 Nov 2007, Erik Noble wrote:
> > >
> > > > Hi. I successfully installed NCL on my Apple MacOSX (10.5 - Leopard).
> > > >
> > > > When I NCL in the x11 window, I get this error:
> > > >
> > > > Erik_at_noble:/Users/Erik:ncl
> > > > Copyright (C) 1995-2007 - All Rights Reserved
> > > > University Corporation for Atmospheric Research
> > > > NCAR Command Language Version 4.3.1
> > > > The use of this software is governed by a License Agreement.
> > > > See http://www.ncl.ucar.edu/ for more details.
> > > > warning:Unable to load System Resource File
> > > > /opt/intel/ncarg/lib/ncarg/sysresfile
> > > > warning:WorkstationClassInitialize:Unable to access rgb color database
> > > > - named colors unsupported:[errno=2]
> > > > warning:["Palette.c":1533]:NhlLoadColormapFiles: Invalid colormap directory: /op
> > > > t/intel/ncarg/lib/ncarg/colormaps
> > > > ncl 0>
> > > >
> > > > Is this a good error?
> > > > -Erik
> > > >
> > > > On Nov 1, 2007 11:56 AM, Erik Noble <enoble_at_giss.nasa.gov> wrote:
> > > >> So far we are having trouble getting netCDF libraries installed with
> > > >> Leopard. This may present a problem with NCL, too.
> > > >>
> > > >>
> > > >> On Nov 1, 2007 8:48 AM, Saji Njarackalazhikam Hameed <saji_at_apcc21.net> wrote:
> > > >>> Hi Erik
> > > >>>
> > > >>> Not on Leopard. We just bought our Mac just a year ago. There was absolutely
> > > >>> no problems. You may also face none with the Leopard. Make sure to have
> > > >>> Xwindows installed either from Mac itself, or Fink or Darwin.
> > > >>>
> > > >>> saji
> > > >>> ...
> > > >>>
> > > >>> * Erik Noble <enoble_at_giss.nasa.gov> [2007-11-01 08:50:02 -0400]:
> > > >>>
> > > >>>
> > > >>>> Hi.
> > > >>>> Has anyone tried installing NCL with the new Apple Leopard OS?
> > > >>>>
> > > >>>> We just received Leopard in the mail but i'm worried that NCL will not
> > > >>>> work on my computer if I install it.
> > > >>>>
> > > >>>> -Erik
> > > >>>> _______________________________________________
> > > >>>> ncl-talk mailing list
> > > >>>> ncl-talk_at_ucar.edu
> > > >>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> > > >>>
> > > >>> --
> > > >>> Saji N. Hameed
> > > >>>
> > > >>> APEC Climate Center +82 51 668 7470
> > > >>> National Pension Corporation Busan Building 12F
> > > >>> Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 saji_at_apcc21.net
> > > >>> KOREA
> > > >>> _______________________________________________
> > > >>> ncl-talk mailing list
> > > >>> ncl-talk_at_ucar.edu
> > > >>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> > > >>>
> > > >>
> > > > _______________________________________________
> > > > ncl-talk mailing list
> > > > ncl-talk_at_ucar.edu
> > > > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> > > >
> > > _______________________________________________
> > > ncl-talk mailing list
> > > ncl-talk_at_ucar.edu
> > > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> > >
> >
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 06 2007 - 14:43:59 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 07 2007 - 10:41:09 MST