ScaLAPACK Archives

[Scalapack] BLACs usage

Hello Tom,

it's a good idea to install PETSc with MUMPS, doing so you'll have MUMPS, 
BLACS and ScaLAPACK installed as well. Installing MUMPS is not trivial due 
to various possible settings in the BLACS and ScaLAPACK and MUMPS.

My recommended way to go for you would be to install MUMPS with PETSc by 
using the --download-mumps=1 --download-scalapack=1 --download-blacs=1
(or something like this). Then you might fight a little more with the 
fortran compiler (needed for MUMPS and used for LAPACK). But that's not 
that hard.

PETSc guys have been a fairly good job of setting all the flags right 
automatically. So the advice would be to use their job.


On Tue, 17 Jul 2007, Tom Cortese wrote:


I am trying to build PETSc with MUMPS.

MUMPS requires Scalapack, which is already installed, and to which I am
pointing when configuring PETSc (and which do not appear to be causing
any problem):


Next, I am told that I need to also specify BLACs (or request for it to be
downloaded and installed).

There is an existing BLACs installation, with files "libblacs.a",
"libblacsCinit.a", and "libblacsF77init.a".

Simply pointing to the former, as with


does not work.  Is it easy to explain how one is expected to link with the
BLACs?  Do I include one (or both) of the other libraries?  Does it matter
which order?


      -Tom Cortese
Scalapack mailing list

<Prev in Thread] Current Thread [Next in Thread>

For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or