You can also install blas-lapack in PETSc. When fortran compiler is present:
$ ./configure --download-fblaslapack
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.
When fortran compiler is present:
$ ./configure --download-fblaslapack
Intel provides BLAS/LAPACK via the MKL library. One can specify it
to PETSc configure
with --with-blaslapack-dir=$MKLROOT
or
--with-blaslapack-dir=/soft/com/packages/intel/13/079/mkl
. If the above option does
not work - one could determine the correct library list for your compilers using Intel
MKL Link Line Advisor and specify with the configure
option
--with-blaslapack-lib