Re: out of memory

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jan 28 2010 - 08:54:48 MST

Hi Shinn,

Your script with this data file worked just fine for me. I ended up
with a new NetCDF file:

-rw-r--r-- 1 haley staff 737257532 Jan 24 17:18 olr.day.anomalies.
1984-2007.nc

Is it possible you are running out of disk space on your local
system? What kind of system do you have?

Type:

    uname -a

--Mary

On Jan 22, 2010, at 11:39 PM, shinn wong wrote:

> Dear Mary,
>
> Thank you very much for your suggestion. I have tried the line and
> seg. fault appears at line 88 "xAnom_sm = calcDayAnomTLL(x,
> yyyyddd, xClmDay_sm)" for computing the smoothed climatology
> anomaly. I have uploaded my data file on the following web: http://
> www.sendspace.com/file/hvkugz. It is the daily mean OLR from NOAA.
> Thanks once again and look forward to your reply.
>
> Regards,
> shinn
>
>
> 2010/1/22 Mary Haley <haley@ucar.edu>
>
> Shinn,
>
> Do you know where it is seg faulting? If you're not sure, then you
> can try this: comment the "begin" and "end" in your code, and then
> run your script with:
>
> ncl -x test.ncl
>
> This should echo every line as it is being executed, and hence
> should show you where it's seg faulting.
>
> If possible, would you be able to provide us with your data file?
>
> --Mary
>
>
> On Jan 21, 2010, at 1:03 AM, shinn wong wrote:
>
> Dear ncl users,
>
> I use the attached code to compute daily anomalies and store the
> anomalies in a netCDF file. I can do this as long as the time range
> is smaller than or equal to 23 years (eg from 1979-2001). Beyond
> this range, an error is returned (Error while dumping state
> Segmentation fault). I suspect that it is due to running out of
> memory. I have already installed the new version of ncl given by
> Mary. Since I want to compute the anomalies from 1979-2007, how can
> i deal with this? Is there any way to simplify the code? Thanks.
>
> shinn
> <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 Thu Jan 28 08:55:07 2010

This archive was generated by hypermail 2.1.8 : Mon Feb 01 2010 - 08:05:34 MST