Re: segmentation fault

From: Jamie Scott <James.D.Scott_at_nyahnyahspammersnyahnyah>
Date: Fri, 06 Oct 2006 09:51:14 -0600

Nilesh,

The array you are defining is 6.7 Gb in size. Ncl is limited to 2
Gb, unless you are running a 64bit version.
Try to process your array in smaller pieces, if possible.

Jamie Scott
NOAA/ESRL/PSD
james.d.scott_at_noaa.gov

On Oct 5, 2006, at 4:20 PM, ncl-talk-request_at_ucar.edu wrote:
> Message: 5
> Date: Thu, 05 Oct 2006 15:14:42 -0700
> From: araligin_at_onid.orst.edu
> Subject: Segmentation Fault
> To: ncl-talk_at_ucar.edu
> Message-ID: <1160086482.452583d24face_at_webmail.oregonstate.edu>
> Content-Type: text/plain; charset=ISO-8859-1
>
>

> Hi,
>
> begin
> fils = systemfunc("ls *.bin")
> dims=dimsizes(fils)
> nlon=1440
> nlat=400
> finarr = new((/dims,nlat,nlon/),"float") ; predefine array for one
>
> I get a Segmentation fault when this statement is executing. The
> dims size is
> 2922. Can anybody help me in getting past this error. I have
> attached the ncl
> code also.
>
> Thanking you,
> Nilesh

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Oct 06 2006 - 09:51:14 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 06 2006 - 15:05:48 MDT