[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Russ Rew: Re: 961002: problem with ncdump (fwd)
- Subject: Russ Rew: Re: 961002: problem with ncdump (fwd)
- Date: Mon, 07 Oct 1996 09:03:11 -0600
------- Forwarded Message
Date: Mon, 07 Oct 1996 09:02:22 -0600
From: Russ Rew <address@hidden>
To: Patrick Guio <address@hidden>
Subject: Re: 961002: problem with ncdump (fwd)
>From: Patrick Guio <address@hidden>
>Subject: problem with ncdump (fwd)
>Organization: .
>Keywords: 199610020843.AA13593
Patrick,
> > But I've found yet another solution that seems to work on all our UNIX
> > platforms without any special compiler options to inhibit optimization.
> >
> > Just #include <math.h> at the top of ncdump/vardata.c, change the
> > definition of the IS_FINITE() macro from
> >
> > #define IS_FINITE(x) (((x)-(x))=3D=3D((x)-(x)))
> >
> > to
> >
> > #define IS_FINITE(x) (finite(x))
> >
> > and link ncdump with a "-lm" option, if necessary, to get the finite()
> > function from the math library.
>
> It worked fine on both systems !
Great, thanks for your help testing the fixes. I've included the
problem description and patch in our list of known problems and
workarounds at
http://www.unidata.ucar.edu/packages/netcdf/known_problems.html
- --Russ
------- End of Forwarded Message