Re: problem in NCL 6.0.0

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 09 2011 - 09:00:41 MDT

Mingxuan,

You need to make sure you are using the 6.0.0 version of WRAPIT, as it
had some changes in it to allow dimension sizes to be > 2 GB. If you
are using the 6.0.0 version of NCL, then you need to use the WRAPIT
that goes with it.

I noticed you are invoking WRAPIT with just:

    WRAPIT

and you are invoking "ncl" with:

> /usr/local/src/bin/ncl

I generally recommend against invoking executables using their full
path, but you could try:

  /usr/local/src/bin/WRAPIT -m64 cquad90.stub cquad.f90

--Mary

On Jun 8, 2011, at 1:30 PM, Mingxuan Chen wrote:

> Hi,
> After my machine installed NCL version 6.0.0, I found that all my
> ncl code with external statement have a strange error. The code
> works at NCL5.2.0.
> Please see the example:
> <cquad.f90>
>
> <cquad90.stub>
>
> <ex01.ncl>
>
> fjord 12:23 /Users/chen/CMIP/ncl_test> WRAPIT -m64 cquad90.stub
> cquad.f90
>
> WRAPIT Version: 100111
> COMPILING cquad.f90
> LINKING
> END WRAPIT
>
>
> fjord 12:23 /Users/chen/CMIP/ncl_test> ncl ex01.ncl
> Copyright (C) 1995-2010 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.2.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> (0) Polynomial value = 0
> (1) Polynomial value = 3
> (2) Polynomial value = 4
>
>
>
> fjord 12:26 /Users/chen/CMIP/ncl_test> /usr/local/src/bin/ncl ex01.ncl
> 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.
> fatal:Number of elements of dimension (0) of argument (0) is (1) in
> function (cquad), expected (140733193388033) elements
> fatal:Execute: Error occurred at or near line 15 in file ex01.ncl
>
>
>
> Thank you for your help.
> Mingxuan
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 9 09:04:03 2011

This archive was generated by hypermail 2.1.8 : Thu Jun 09 2011 - 14:56:48 MDT