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.
Julien.
On Tue, 17 Jul 2007, Tom Cortese wrote:
Hey,
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):
--with-scalapack-lib=blahblahblah
--with-scalapack-include=blahblahblah
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
--with-blacs-lib=blahblah
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?
Thanks,
-Tom Cortese
_______________________________________________
Scalapack mailing list
Scalapack@Domain.Removed
http://lists.cs.utk.edu/listinfo/scalapack
|