Re: Segmentation Fault

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 5 Oct 2006 17:00:58 -0600 (MDT)

On Thu, 5 Oct 2006 araligin_at_onid.orst.edu wrote:

>
> 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

Hi Nilesh,

NCL is limited to 2 Gb in size when it comes to creating new
variables. You are trying to create a variable that is 4 x 1440 x 400
x 2922 = 6,732,228,000 (~6 GB) bytes in size.

If you want to send me a personal email and let me know what you are
trying to accomplish, I might be able to help you work around this.

--Mary

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Oct 05 2006 - 17:00:58 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 05 2006 - 17:01:32 MDT