[SciPy-dev] {Num, Sci}Py on 64bit Intel Macs with icc, ifort, mkl

Robert Kern robert.kern@gmail....
Wed Jun 11 14:42:06 CDT 2008


On Wed, Jun 11, 2008 at 12:16, David Cournapeau
<david@ar.media.kyoto-u.ac.jp> wrote:
> Ulrik Günther wrote:
>> The problem is, when compiling/linking, for example, multiarray.so,
>> the compiler spits
>> out many not found symbols, primarily due to not appending -framework
>> Python to the
>> compiling options. The problem can be solved be manually compiling the
>> file, while appending
>> the respective option (along with -undefined dynamic_lookup, as _main
>> is not found else, which
>> may also be a Fortran-compiler related problem, so maybe -no-formain
>> for the ifort is more
>> appropriate than using dynamic lookups...)
>
> -undefined dynamic_lookup tells the apple linker to succeed even if some
> symbols are missing. But that should be handled by distutils, actually
> (or maybe distutils does not know about icc on the mac ?)

Correct, it does not. It needs to be taught. I believe that just
"-undefined dynamic_lookup" is necessary; "-framework Python" is
redundant since it will be available to the dynamic_lookup as soon as
the extension module is loaded.

And the hard-coding of Accelerate is my fault, oh so many years ago.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco


More information about the Scipy-dev mailing list