[petsc-users] Trouble configuring PETSc with serial MUMPS (no MPI)
salvador
salvador.rodriguez at upm.es
Fri Apr 11 02:02:03 CDT 2025
Dear PETSc team,
I'm trying to compile PETSc with *MUMPS* in *serial mode* (without MPI),
and I’ve encountered an issue during the |./configure| step.
Here is the command I'm using:
./configure \
--with-cc=gcc \
--with-cxx=g++ \
--with-fc=gfortran \
--with-mpi=0 \
--with-scalar-type=complex \
--with-petsc-arch=arch-linus-c-opt-complex \
--with-blaslapack=1 \
--with-mumps=1 \
--with-scalapack=0
However, I get the following error:
*********************************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
for details):
---------------------------------------------------------------------------------------------
Package mumps requested but dependency scalapack not requested.
Perhaps you want --download-scalapack or
--with-scalapack-dir=directory or
--with-scalapack-lib=libraries and --with-scalapack-include=directory
*********************************************************************************************
My understanding is that *MUMPS can be used in serial* (according to its
documentation), but PETSc seems to expect *ScaLAPACK* as a dependency
even without MPI.
*
Is it possible to use MUMPS in PETSc *without MPI and without
ScaLAPACK*?
*
If not, is there a way to enable serial MUMPS with PETSc?
Any guidance would be appreciated.
Best regards,
/Salvador
/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250411/3ad39188/attachment.html>
More information about the petsc-users
mailing list