[SciPy-dev] Intel MKL without Intel Fortran??!!

Pearu Peterson pearu at scipy.org
Thu Jan 5 14:40:04 CST 2006



On Thu, 5 Jan 2006, Norbert Nemec wrote:

> Hi there,
>
> on my system, I have the Intel Fortran compiler installed along with
> Intel MKL, as well as the g77 and gfortran 4.0 and Atlas.
>
> The default configuration in this setup seems to be somewhat strange:
> the gnu compiler is preferred over the intel compiler, but still, the
> intel MKL is preferred over atlas. This means, that the intel MKL is
> linked in with GNU compiled libraries. If I'm not mistaken, such a setup
> is doomed to fail, because the intel MKL only works with Intel compiled
> programs and libraries. (Correct me if I'm wrong.)

In my debian box with g77-3.4.5 and gcc-4.0.3 I can use MKL-8.0.1 without 
intel fortran compiler. Anyway, I also find choosing MKL by default not 
the best solution. To disable MKL, define

   export MKL=None

before building scipy.

> What I see is:
>
>  Found 0 tests for __main__
> ..................................................................................MKL
> FATAL ERROR: /usr/local/lib/libmkl_def.so: undefined symbol:
> __kmpc_global_thread_num
> -------------------------------------------

What MKL version are you using?

Pearu




More information about the Scipy-dev mailing list