Re: segmentation fault

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 13 Aug 2009 13:46:43 -0600 (MDT)

Hi Claus,

If you comment out the gsn_panel call, does it still seg fault?

Also, can you try commenting out:

      pnlres_at_gsnPanelRowSpec = True

and calling gsn_panel with:

      gsn_panel(wks,(/plots/),(/1,2/),pnlres)

If you still get a seg fault, then could you provide me with the data
file?

--Mary

On Thu, 13 Aug 2009, Claus Moberg wrote:

> Hi,
>
> The segmentation fault occurs after the gsn_panel call. The panel plots get
> drawn (either in x11 window or as .ps file, depending on settings in the
> script). Everything looks great. Thus, it seems like the fault occurs at
> either the final "end if" command or at the "end" command.
>
> Also, I'm running NCL 5.1.0. - I haven't had time to install the latest
> release just yet.
>
> Thanks,
> Claus
>
> ----------------------------------------------------------------
> Candidate for MS in Atmospheric and Oceanic Science
> Center for Sustainability and the Global Environment
> University of Wisconsin - Madison
>
>
> On Thu, Aug 13, 2009 at 11:37 AM, Adam Phillips <asphilli_at_ucar.edu> wrote:
> Hi Claus,
> I think we need more information. Does the segmentation fault happen after
> the creation of plots(0), plots(1), or after the gsn_panel call? Does the
> panel plot get drawn, looks good, and prints out OK?
>
> Scanning at your script, nothing jumps out at me as being wrong...
> Adam
>
>
> Claus Moberg wrote:
> Hi,
>
> I've written a script that interpolates wrf/chem and narr data to a common,
> square lat x lon grid, does some comparative stats, and then generates a
> multi-panel plot. Everything runs fine, but after the plot completes, i get
> a segmentation fault. Does anyone know why this is happening?
>
> I've attached the script below.
>
> Thanks,
> Claus Moberg
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> --
> --------------------------------------------------------------
> Adam Phillips asphilli_at_ucar.edu
> National Center for Atmospheric Research tel: (303) 497-1726
> ESSL/CGD/CAS fax: (303) 497-1333
> P.O. Box 3000
> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 13 2009 - 13:46:43 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 13 2009 - 14:45:53 MDT