compiling PETSc with Intel MKL 10.0.1.14

Paul T. Bauman pbauman at ices.utexas.edu
Tue Feb 3 17:29:57 CST 2009


Hi Randy,

I've successfully built petsc-3.0.0-p2 with MKL 10.0.3.020. Here were 
the relevant blas/lapack specifications:

--with-blas-lib=[/opt/intel/mkl/10.0.3.020/lib/em64t/libmkl.so,/opt/intel/mkl/10.0.3.020/lib/em64t/libguide.so] 
--with-lapack-lib=/opt/intel/mkl/10.0.3.020/lib/em64t/libmkl_lapack.so

HTH,

Paul

Randall Mackie wrote:
> 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
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>



More information about the petsc-users mailing list