[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

970919: DEC Alpha, Linux, and netCDF-3.3.1 - floating point exception



Scott,

>Date: Thu, 18 Sep 1997 16:58:23 -0600 
>From: "Scott R. Wilson" <address@hidden>
>Organization: Bio-Rad Semiconductor Division, CD Systems
>To: address@hidden,
>To: address@hidden
>Subject: Re: 970918: DEC Alpha, Linux, and netCDF-3.3.1 - floating poi
nt exception 
>Keywords: 199709162327.RAA11816

In the above message, you wrote:

> Took your suggestion to try explicitly installing a signal handler in
> nc_test.c and it worked. make test now reports success! My patch is as
> follows:
> 
> [swilson@AWG_Alpha nc_test]$ diff nc_test.c nc_test.c.orig
> 93,94d92
> < extern handle_fpe();
> < 
> 109d106
> < /*
> 111,112d107
> < */
> <       (void) signal(SIGFPE, (void *)handle_fpe);
> 324,329d318
> < 
> < handle_fpe()
> <   {
> <     /* Just ignore SIGFPE */
> <   }
> < 

Great!

We might roll this patch in or add it to our "known problems" page (at
least).

> The fortran tests failed, but I am not worried about those anyway - only the
> C interface is important to us.
> 
> Many thanks for helping us through this - let me know what I can do to help
> improve the 64-bit Alpha/Linux support (like compile/test runs).
> 
> Thanks again!
> Scott Wilson
> Bio-Rad CD Systems
> address@hidden

--------
Steve Emmerson   <http://www.unidata.ucar.edu>