> On 11 Apr 2025, at 9:02 AM, salvador <salvador.rodrig...@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
> 
> 
> 

Reply via email to