Re: how to avoid the "segmentation fault"

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 22 2012 - 09:37:14 MST

We need more information about what you are trying to do in your script before we can tell you how to fix it.

How big are the variables you are trying to read in? How many of them are you trying to read in?

Are you using "delete" to get rid of variables you no longer need? We recommend doing this immediately
after you no longer need the variable, so you can free up memory for later use.

--Mary

On Feb 22, 2012, at 7:06 AM, Jie Tang wrote:

> hi ,everyone
> I am writing a diagnosis script in NCL which is needed to read series of .WRFoutput files and defined some internal variables.
> And the NCl with the version number 6.0 is stalled in cygwin 5.1.
> When I run the script, NCL shows that "segmentation fault<core dumped>"
> So it seems the memory is insufficient and I can diagnose some much smalled wrfout files succesfully.
>
> So my question is what can I do to resolve the "segmentation fault" without reduce input dataset ?
> thank you .
>
> --
> TANG Jie
> Email: totangjie@gmail.com
> Tel: 0086-2154896104
> Shanghai Typhoon Institute,China
> _______________________________________________
> 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 Wed Feb 22 09:37:26 2012

This archive was generated by hypermail 2.1.8 : Thu Feb 23 2012 - 10:01:53 MST