[SciPy-User] compiling problem of scipy 0.9 by intel icc

Ting Zhou coomteng at gmail.com
Tue Apr 5 02:37:19 EDT 2011


于 2011-4-5 1:33, Hoyt Koepke 写道:
> That line is a bug and needs to be commented out.  It's a line that is
> special cased for intel, but it shouldn't be -- the line for other compilers
> works fine.
>
> You can see my complete notes on compiling numpy/scipy with icc here:
>
> http://old.nabble.com/Compiling-numpy-using-icc-gets-missing-library-error-td31213447.html
>
> I'm trying to get that up on the wiki, but I've been swamped with
> travel and grad school lately :-/.
>
> --Hoyt
>
>
> On Mon, Apr 4, 2011 at 2:12 PM, Ting Zhou<coomteng at gmail.com>  wrote:
>> hi,
>>
>> here is the error message:
>>
>> scipy/spatial/qhull/src/qhull_a.h(106): error: expected a ";"
>>    template<typename T>
>>             ^
>>
>> my compiler version is Intel(R) C Intel(R) 64 Compiler XE for
>> applications running on Intel(R) 64, Version 12.0.0.084 Build 20101006.
>>
>> Thank you for help.
>> Best wishes,
>> Ting
>>
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User at scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>
>
>
>
Thank you Hoyt. I just Replace

#if defined(__INTEL_COMPILER) && !defined(QHULL_OS_WIN)
template <typename T>
inline void qhullUnused(T &x) { (void)x; }
#  define QHULL_UNUSED(x) qhullUnused(x);
#else
#  define QHULL_UNUSED(x) (void)x;
#endif

with

#define QHULL_UNUSED(x)

as you suggest.

best wishes,
ting



More information about the SciPy-User mailing list