Re: Testing 6.1.0-beta error

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jul 26 2012 - 09:49:05 MDT

Hi Ashley,

The problem is that you are pointing to 6.1.0-beta scripts, but still running a very old version of NCL. The version being echoed is 5.1.1:

> Copyright (C) 1995-2009 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.1.1

My guess is that you set NCARG_ROOT correctly, but you may still have the old 5.1.1 NCL on your search path before the new version of NCL.

To fix the search path problem, make sure $NCARG_ROOT/bin is on your search path before any path that points to an older NCL.

See this section for more information about setting your path:

http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT

You can quickly test whether you are getting the right NCL by typing:

   ncl -V

Good luck,

--Mary

On Jul 26, 2012, at 8:06 AM, Ashley Penrod wrote:

> I have been struggling with testing the 6.1.0-beta version of ncl for a while now. When I run the command "ng4ex gsun01n" to test if it the binaries were installed ok, I get a long list of errors starting with the following:
>
> 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-2009 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.1.1
> The use of this software is governed by a License Agreement.
> See
> http://www.ncl.ucar.edu/
> for more details.
> fatal:syntax error: line 3311 in file $NCARG_ROOT/lib/ncarg/nclex/gsun/gsn_code.ncl before or near windowWorkstationClass
> window = create name + "_x11" windowWorkstationClass
> ---------------------------------------------------------^
>
> fatal:syntax error: line 3312 in file $NCARG_ROOT/lib/ncarg/nclex/gsun/gsn_code.ncl before or near "wkFormat
> "wkFormat"
> -----------------^
>
>
> I wanted to make sure it wasn't something to do with my x11 set-up, so I tested an older version of NCL with the same command and got the figures and all like I was supposed to. Not sure if it was something I did as the installation is super easy and I have installed other binaries before with no problems. Any suggestions would help.
>
> Thanks,
> Ashley
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Jul 26 09:49:14 2012

This archive was generated by hypermail 2.1.8 : Fri Aug 03 2012 - 14:40:11 MDT