[SciPy-user] Intel compiler error that should be a warning?
David M. Cooke
cookedm at physics.mcmaster.ca
Wed May 9 16:42:32 EDT 2007
On Wed, May 09, 2007 at 01:15:06PM -0700, Greg Novak wrote:
> No, I'm using 0.5.2, but this is one installation among many one many
> different machines, so I'd like to keep things harmonized across the
> different machines.
You'll want to look at at changeset 2838
http://projects.scipy.org/scipy/scipy/changeset/2838
Applying that diff should fix it -- it removes ad-hoc checks for
endianness with Python's from pyconfig.h.
> On 5/8/07, David M. Cooke <cookedm at physics.mcmaster.ca> wrote:
> > On Tue, May 08, 2007 at 10:45:10AM -0700, Greg Novak wrote:
> > > I'm trying to compile Scipy using the Intel C Compiler and I'm getting
> > > an error that I think should be a warning. The machine is a cluster
> > > of Intel 64 bit processors and the error happens when compiling
> > > Lib/special/cephes/const.c. Here are the error messages:
> >
> > >
> > > novak at pleiades cephes]$ icc const.c
> > > const.c(92): error: floating-point operation result is out of range
> > > double INFINITY = 1.0/0.0; /* 99e999; */
> > > ^
> > > const.c(97): error: floating-point operation result is out of range
> > > double NAN = 1.0/0.0 - 1.0/0.0;
> > > ^
> > > const.c(97): error: floating-point operation result is out of range
> > > double NAN = 1.0/0.0 - 1.0/0.0;
> > > ^
> > > compilation aborted for const.c (code 2)
> >
> > Are you using the latest svn version of scipy? This bit of code should
> > only be compiled if UNK was defined in mconf.h, and that's never defined
> > anymore.
> >
> > --
> > |>|\/|<
> > /--------------------------------------------------------------------------\
> > |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/
> > |cookedm at physics.mcmaster.ca
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-user at scipy.org
> > http://projects.scipy.org/mailman/listinfo/scipy-user
> >
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca
More information about the SciPy-User
mailing list