Re: Bus Error with MacOSX , ver 6.0.0-beta and ver 5.2.1

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Mar 28 2011 - 08:50:50 MDT

Hi Saji,

I *think* the bus error is due to the older versions of WRFUserARW.ncl including a function called "tointeger" that interferes with the built-in "tointeger" function we added in version 5.2.0.

If you are running version NCL version 5.2.0 or later, and you have a version of WRFUserARW.ncl that has "tointeger" in it, try removing the "tointeger" function from WRFUserARW.ncl (or WRFUserARW_add.ncl).

Let me know if this doesn't fix the problem.

--Mary

On Mar 26, 2011, at 8:52 AM, Saji Hameed wrote:

> Hi Mary,
>
> Sorry for the delay. Please find attached a sample script. The data
> used in this script is from the "Example data sets available at the
> NCL home page"
> http://www.ncl.ucar.edu/Applications/Data/cdf/wrfout_d01_2003-07-15_00:00:00
>
> The WRF library loaded after the standard NCL libraries are from
>
> http://www.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/EXPERIMENTAL/WRFUserARW_add.ncl
>
> In fact the Bus Error appears only when using this version of the
> WRFUserARW_add.ncl The WRF website says that this is an experimental
> version of the said library script. On the other hand, when I use
> 5.1.1 with this library, there is no Bus Error
>
>
> The version available at
> "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl" thankfully does
> not give the Bus Error with both versions.
>
> Thanks,
>
> saji
>
>
> On Fri, Mar 25, 2011 at 5:55 AM, Mary Haley <haley@ucar.edu> wrote:
>>
>> Hi Saji,
>> I don't know of any outstanding bug that would explain why you're seeing the seg faults in 5.2.1/6.0.0-beta and not 5.1.1.
>> Would you be able to provide a script and data as per usual:
>> http://www.ncl.ucar.edu/report_bug.shtml
>> Thanks,
>> --Mary
>> On Mar 24, 2011, at 7:08 AM, Saji Hameed wrote:
>>
>> Update - On NCL 5.1.1, there is no bus error
>>
>> Note - I have a similar bus error on Linux RedHat. So I have never updated NCL on that machine from version 5.1.1
>>
>> On Thu, Mar 24, 2011 at 9:37 PM, Saji Hameed <saji.nh@gmail.com> wrote:
>>>
>>> Dear Developers,
>>>
>>> I encounter a bus error with the NCL precompiled binary for MacOSX (Snow Leopard, x86_64). The problem does not exist on my Linux machines. I earlier saw a thread on the same topic started by Eric Noble, but could not trace it to the answer.
>>>
>>> In my case, the error is experienced when I call
>>> gsn_csm_contour_map in one script and gsn_csm_vector_scalar_map in another. I have not tested with other graphic routines, though.
>>>
>>> I first installed NCL version 6.0.0-beta and then switched to 5.2.1, with the same effect. I don't mind using older versions of NCL, but could not find a binary for the x86_64 architecture.
>>>
>>> Any hints?
>>>
>>> saji
>>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
> <NCL.gt.5.2.1.test.ncl>_______________________________________________
> 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 Mon Mar 28 08:50:56 2011

This archive was generated by hypermail 2.1.8 : Mon Mar 28 2011 - 08:51:50 MDT