[petsc-users] Trouble configuring PETSc with serial MUMPS (no MPI)
Satish Balay
balay.anl at fastmail.org
Fri Apr 11 09:08:04 CDT 2025
you need the additional option -with-mumps-serial=1
For example - check config/examples/arch-ci-linux-cuda-uni-pkgs.py
Satish
On Fri, 11 Apr 2025, salvador wrote:
> 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
> /
>
>
More information about the petsc-users
mailing list