[petsc-dev] MKL discussion

Barry Smith bsmith at mcs.anl.gov
Fri Feb 1 16:14:50 CST 2013


  Satish,

    The "BLAS/LAPACK" part of installation.html should discuss using the MKL libraries and how to use Intel's tool for determining the libraries to use. Currently this is not discussed there at all so users won't have a clue.

   Thanks

     Barry

From installation.html

BLAS/LAPACK

These packages provide some basic numeric kernels used by PETSc.

	• Configure will automatically look for blas/lapack in certain standard locations, on most systems you should not need to provide any information about BLAS/LAPACK in the ./configure command.
	• One can use the following options to let configure download/install blas/lapack automatically.
		• --download-f-blas-lapack [when fortran compiler is present]
		• --download-f2cblaslapack [when configuring without a fortran compiler - i.e --with-fc=0]
	• Alternatively one can use other options like one of the following.
		• --with-blas-lapack-lib=libsunperf.a
		• --with-blas-lib=libblas.a --with-lapack-lib=liblapack.a
		• --with-blas-lapack-dir=opt/intel/mkl72
Notes:


More information about the petsc-dev mailing list