compiling PETSc with Intel MKL 10.0.1.14

Satish Balay balay at mcs.anl.gov
Wed Jun 18 15:46:47 CDT 2008


Intels' MKL is always confusing to me.

[balay at login02 em64t]$ cat libmkl_lapack.a
GROUP (libmkl_intel_lp64.a libmkl_intel_thread.a libmkl_core.a)

So linking with libmkl_lapack.a should work fine - and is correct [as
per the layered pure case mentioned below].

satish


On Wed, 18 Jun 2008, 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