compiling PETSc with Intel MKL 10.0.1.14

Randall Mackie randy at geosystem.us
Tue Feb 3 16:03:53 CST 2009


Paul,

Have you tried this with Petsc 3.0.0? I just tried to compile it using
MKL 10.0.3.020, and I am having the same issue you specified below, in that
Petsc is looking for -lmkl_lapack -lmkl -lguide etc and the compilation
doesn't work.

Randy




Paul T. Bauman wrote:
> Sorry this took so long to get around to doing. So it turns out that 
> there's a newer version of 2.3.3p13 posted at the PETSc ftp server. This 
> worked flawlessly with the new MKL. I guess it got fixed and checked-in, 
> but not under a new patch?
> 
> Thanks,
> 
> Paul
> 
> Barry Smith wrote:
>>
>>   Please send the configure.log to petsc-maint at mcs.anl.gov
>>
>>    Barry
>>
>> On Aug 15, 2008, at 1:39 PM, Paul T. Bauman wrote:
>>
>>> Was there ever a fix/workaround introduced for this? I'm using 
>>> 2.3.3p13 and I'm having trouble getting the config to recognize mkl 
>>> 10.0.3.020.
>>>
>>> Thanks,
>>>
>>> Paul
>>>
>>> Barry Smith wrote:
>>>>
>>>>  Could you email to petsc-maint at mcs.anl.gov ALL the messages as to 
>>>> what goes wrong with
>>>> our current linking so we can fix it?
>>>>
>>>>   Thanks
>>>>
>>>>   Barry
>>>>
>>>> On Jun 18, 2008, at 3:32 PM, Randall Mackie wrote:
>>>>
>>>>> We've upgraded Intel MKL to version 10.0, but in this version, 
>>>>> Intel has
>>>>> changed how libraries are suppose to be linked. For example, the 
>>>>> libmkl_lapack.a
>>>>> is a dummy library, but that's what the PETSc configure script 
>>>>> looks for.
>>>>>
>>>>> The documentation says, for example, to compile LAPACK in the 
>>>>> static case,
>>>>> use libmkl_lapack.a libmkl_em64t.a
>>>>>
>>>>> and in the layered pure case to use
>>>>> libmkl_intel_lp64.a libmkl_intel_thread.a libmkl_core.a
>>>>>
>>>>> However, the PETSC configuration wants -lmkl_lapack -lmkl -lguide 
>>>>> -lpthread
>>>>>
>>>>> Any suggestions are appreciated.
>>>>>
>>>>> Randy
>>>>>
>>>>
>>>
>>
>>
> 
> 

-- 
Randall Mackie
GSY-USA, Inc.
PMB# 643
2261 Market St.,
San Francisco, CA 94114-1600
Tel (415) 469-8649
Fax (415) 469-5044

California Registered Geophysicist
License No. GP 1034


More information about the petsc-users mailing list