[petsc-users] Trouble configuring PETSc with serial MUMPS (no MPI)
Pierre Jolivet
pierre at joliv.et
Fri Apr 11 09:08:40 CDT 2025
> On 11 Apr 2025, at 9:02 AM, salvador <salvador.rodriguez at upm.es> 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?
>
Use --with-mumps-serial
Thanks,
Pierre
> 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/669012ab/attachment-0001.html>
More information about the petsc-users
mailing list