[Numpy-discussion] Installing numpy with MKL

Søren Gammelmark gammelmark@phys.au...
Thu Aug 5 15:53:58 CDT 2010


It seems to me, that you are using an libiomp5 for Intel Itanium 
(lib/intel64) or such, but an MKL for EM64T-processors (lib/em64t). In 
my case I used EM64T in all cases (I'm running AMD Opteron) . I don't 
think the two types of libraries are compatible, but I might be wrong.

/Søren


On 05-08-2010 21:06, David Warde-Farley wrote:
> On 2010-08-04, at 2:18 AM, Matthieu Brucher wrote:
>
>    
>> 2010/8/4 Søren Gammelmark<gammelmark@phys.au.dk>:
>>      
>>>        
>>>> I wouldn't know for sure, but could this be related to changes to the
>>>> gcc compiler in Fedora 13 (with respect to implicit DSO linking) or
>>>> would that only be an issue at build-time?
>>>>
>>>> http://fedoraproject.org/w/index.php?title=UnderstandingDSOLinkChange
>>>>          
>>> I'm not entirely sure I understand the link, but if it has anything to
>>> do with the compiler it seems to me that it should be the Intel
>>> compiler. The python I use is compiled with GCC but everything in numpy
>>> is done with the Intel compilers. Shouldn't it then be something with
>>> the Intel compilers?
>>>
>>> /Søren
>>>        
>> Unfortunately, I think you'll ahve to use Dag's patch. MKL has a
>> specific loading procedure since a few releases, you have to abide by
>> it.
>>      
> I've been having a similar problem compiling NumPy with MKL on a cluster with a site-wide license. Dag's site.cfg fails to config if I use 'iomp5' in it, since (at least with this version, 11.1) libiomp5 is located in
>
> 	/scinet/gpc/intel/Compiler/11.1/072/lib/intel64/
>
> whereas the actual proper MKL
>
> 	/scinet/gpc/intel/Compiler/11.1/072/mkl/lib/em64t/
>
> I've tried putting both in my library_dirs separated by a colon as is suggested by the docs, but python setup.py config fails to find MKL in this case. Has anyone else run into this issue?
>
> David
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>    



More information about the NumPy-Discussion mailing list