Re: maximum filename length

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 06 2012 - 05:49:05 MST

Hi Adrian,

What version of NCL are you using? I think in Version 5.2.1 we fixed a bug related to this. Also, I couldn't reproduce the problem using a variation on your PDF file name below.

--Mary

On Feb 5, 2012, at 12:49 PM, Tompkins Adrian wrote:

> hello there,
>
> My NCL code was crashing with the dreaded "segmentation fault"... after
> some time, I realized the only thing I had changed was the length of the
> output PDF filename.
>
> ...and indeed changing this:
>
> outfile="/scratch/tompkins/vectri/dublin/vectri_sresa1b_bccr_bcm2_0_run1_ymonstd_lon27-42.0_lat-12-6.0_date20960101-21000101_ymonstd_cases_ratio"
>
> to something shorter got the code working again.
>
> Can I ask,
> 1. what is the maximum filename length allowable?
> 2. Perhaps there could be an error handler to catch this in
> gsn_open_wks, since a segmentation fault is a nightmare to track down (I
> was lucky I had only made one change).
>
> thanks again as always,
>
> Adrian
>
>
> --
> Adrian Tompkins | Earth System Physics
> +39 040 2240579 (office) | ICTP (UNESCO-IAEA)
> +39 040 2240449 (fax) | Strada Costiera 11
> www.ictp.it | 34151 Trieste, Italy
>
> _______________________________________________
> 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 Mon Feb 6 05:49:19 2012

This archive was generated by hypermail 2.1.8 : Mon Feb 06 2012 - 14:24:56 MST