Fwd: [Fwd: RE: maponly_8.ncl]

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Thu, 26 Mar 2009 10:56:09 -0600

Hi Mark,

I am not sure why you would be running out of memory at this point,
but I don't think it has anything to do with the size you have
allocated for workspace. The error is occurring during the
initialization of the MapPlot object using internally allocated
memory, not memory supplied by the Workspace interface.
Regarding your goal of plotting maps of Australia with state
boundaries, these boundaries are only available starting with the
latest version of NCL 5.1.0, so I would suggest
that you get 5.1.0 and try that. If you still have this problem with
the new version, we will have to look into it further.
  -dave

On Mar 25, 2009, at 5:43 PM, Dennis Shea wrote:

>
>
> -------- Original Message --------
> Subject: RE: [ncl-talk] maponly_8.ncl
> Date: Thu, 26 Mar 2009 10:32:57 +1100
> From: <Mark.Collier_at_csiro.au>
> To: <shea_at_ucar.edu>
> References: <BCA16C11FB816447B3F47D42E6E3646526E6CB68_at_exvic-
> mbx05.nexus.csiro.au>
> <BCA16C11FB816447B3F47D42E6E3646526E6CB69_at_exvic-
> mbx05.nexus.csiro.au>,<49CABCD2.2030100_at_ucar.edu>
>
>
>
> Hi Dennis,
> I found one of your other messages on how to increase workspace but
> still cannot get working.
>
> gcc -v
> Using built-in specs.
> Target: ia64-suse-linux
> Configured with: ../configure --enable-threads=posix --prefix=/usr
> --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/
> usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-
> languages=c,c++,objc,fortran,obj-c++,java,ada --enable-
> checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --
> enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --
> with-system-zlib --enable-shared --enable-__cxa_atexit --enable-
> libstdcxx-allocator=new --program-suffix= --enable-version-specific-
> runtime-libs --with-system-libunwind --host=ia64-suse-linux
> Thread model: posix
> gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)
> marsland/core-00a> uname -a
> Linux cherax 2.6.16.54-0.2.12-default #1 SMP Fri Oct 24 02:16:38
> UTC 2008 ia64 ia64 ia64 GNU/Linux
>
> ! Increase default wkspace for graphics !
> ! default is 16777216 .
> ! this must be in an NCL script for it to work.
> ! setvalues NhlGetWorkspaceObjectId()
> ! "wsMaximumSize": 50000000
> ! end setvalues
> *wsMaximumSize : 33554432
>
> this has been put into my ~/.hluresfile
>
> I got the same message. I tried setting it to the (?) max. value of
> 50000000 with same error.
>
> Regards,
> Mark.
> ________________________________________
> From: Dennis Shea [shea_at_ucar.edu]
> Sent: Thursday, 26 March 2009 10:22 AM
> To: Collier, Mark (CMAR, Aspendale)
> Cc: ncl-talk_at_ucar.edu
> Subject: Re: maponly_8.ncl
>
> G'day
>
> "dynamic memory allocation error"
>
> Usually, means you have exceeded memory.
>
> What memory do you have available?
> What OS are you using>
>
> %> uname -a
> %> gcc -v
>
> D
>
>
>
>
>
> Mark.Collier_at_csiro.au wrote:
>> Hi,
>> I am running ncl version 5.0.0 and when I try to run a standard
>> script I get:
>> ncl maponly_8.ncl
>> Copyright (C) 1995-2007 - All Rights Reserved
>> University Corporation for Atmospheric Research
>> NCAR Command Language Version 5.0.0
>> The use of this software is governed by a License Agreement.
>> See http://www.ncl.ucar.edu/ for more details.
>> fatal:MapV41DHInitialize: dynamic memory allocation error:[errno=12]
>> fatal:MapV41DHInitialize: error initializing map outline records
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "china"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "india"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "nepal"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "bhutan"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "bangladesh"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "myanmar"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "thailand"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "cambodia"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "vietnam"
>> warning:MapV41DHUpdateDrawList: invalid boundary specification
>> string: "taiwan"
>> ERROR 2 IN MPLNRI/MDLNRI - Can't open the ".names" file
>> ERROR 1 IN MPSETR - UNCLEARED PRIOR ERROR
>> ERROR 1 IN MAPPOS - UNCLEARED PRIOR ERROR
>> ERROR 1 IN MAPSTI - UNCLEARED PRIOR ERROR
>> ERROR 1 IN MAPROJ - UNCLEARED PRIOR ERROR
>> ERROR 2 IN MAPSET/MDPSET - UNCLEARED PRIOR ERROR
>> fatal:MapSetTrans: error initializing map: MAPINT - UNCLEARED
>> PRIOR ERROR
>> Segmentation fault
>>
>> I'm wondering what could be wrong? Simple scripts like ng4ex
>> gsun06n work. I want to eventually plot contour maps of Australia
>> showing state boundaries. Are they already known about or do I
>> have to import them somehow?
>> THanks,
>> Mark.
>> CSIRO Marine and Atmospheric Research
>> Australia.
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
> --
> ======================================================
> Dennis J. Shea tel: 303-497-1361 |
> P.O. Box 3000 fax: 303-497-1333 |
> Climate Analysis Section |
> Climate & Global Dynamics Div. |
> National Center for Atmospheric Research |
> Boulder, CO 80307 |
> USA email: shea 'at' ucar.edu |
> ======================================================
>
>
> --
> ======================================================
> Dennis J. Shea tel: 303-497-1361 |
> P.O. Box 3000 fax: 303-497-1333 |
> Climate Analysis Section |
> Climate & Global Dynamics Div. |
> National Center for Atmospheric Research |
> Boulder, CO 80307 |
> USA email: shea 'at' ucar.edu |
> ======================================================
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 26 2009 - 10:56:09 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 06 2009 - 10:23:30 MDT