[SciPy-user] Intel compiler error that should be a warning?

David M. Cooke cookedm at physics.mcmaster.ca
Tue May 8 16:44:15 EDT 2007


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



More information about the SciPy-User mailing list