[petsc-users] installing petsc with scalapack from mkl

Satish Balay balay at mcs.anl.gov
Tue Jul 16 10:43:39 CDT 2013


On Tue, 16 Jul 2013, Michael Povolotskyi wrote:

> Thank you.
> Can I use dynamic libraries for scalapack and blas?

yes, when compiler sees -lfoo - it looks for libfoo.so first..

You can also use;

--with-scalapack-lib="/opt/intel/mkl//lib/intel64/libmkl_scalapack_lp64.so /opt/intel/mkl//lib/intel64/libmkl_blacs_intelmpi_lp64.so"

Satish


> 
> On 07/16/2013 11:27 AM, Satish Balay wrote:
> > Try:
> > 
> > --with-scalapack-lib="-L/opt/intel/mkl//lib/intel64 -lmkl_scalapack_lp64
> > -lmkl_blacs_intelmpi_lp64"
> > 
> > 
> > BLACS is now part of scalapack-2 [which petsc-3.4 uses] - but mkl has
> > blas/scalapack split.
> > So you would have to specify both libs with the --with-scalapack-lib option.
> > 
> > Satish
> > 
> > On Tue, 16 Jul 2013, Michael Povolotskyi wrote:
> > 
> > > Dear Petsc developers and users,
> > > I'm trying to configure petsc with scalapack from mkl library.
> > > 
> > >  From the configure.log (see attached) it seems that when PETSc checks for
> > > the
> > > scalapack functionality it does not link blacs.
> > > Please advise.
> > > Thank you,
> > > Michael.
> > > 
> > > 
> 
> 



More information about the petsc-users mailing list