[petsc-users] PETSc 3.15.3 compiling error

Lucas Banting bantingl at myumanitoba.ca
Mon Aug 30 19:21:33 CDT 2021


I believe it is a dependency of mumps based on the configure.log ending.


Package mumps requested but dependency scalapack not requested

________________________________
From: Sam Guo <sam.guo at cd-adapco.com>
Sent: Monday, August 30, 2021 7:17:10 PM
To: Lucas Banting <bantingl at myumanitoba.ca>
Cc: petsc-users <petsc-users at mcs.anl.gov>
Subject: Re: [petsc-users] PETSc 3.15.3 compiling error

I don't use scalapack.

On Mon, Aug 30, 2021 at 5:13 PM Lucas Banting <bantingl at myumanitoba.ca<mailto:bantingl at myumanitoba.ca>> wrote:
Dumb question but are you configuring with scalapack?
________________________________
From: petsc-users <petsc-users-bounces at mcs.anl.gov<mailto:petsc-users-bounces at mcs.anl.gov>> on behalf of Sam Guo <sam.guo at cd-adapco.com<mailto:sam.guo at cd-adapco.com>>
Sent: Monday, August 30, 2021 7:10:45 PM
To: petsc-users <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>>
Subject: Re: [petsc-users] PETSc 3.15.3 compiling error

Attached please find the configure.log. I use my own CMake. I have defined -DPETSC_HAVE_MUMPS. Thanks.

On Mon, Aug 30, 2021 at 4:56 PM Sam Guo <sam.guo at cd-adapco.com<mailto:sam.guo at cd-adapco.com>> wrote:
I use pre-installed

On Mon, Aug 30, 2021 at 4:53 PM Satish Balay <balay at mcs.anl.gov<mailto:balay at mcs.anl.gov>> wrote:

Are you using --download-mumps or pre-installed mumps? If using pre-installed - try --download-mumps.

If you still have issues - send us configure.log and make.log from the failed build.

Satish

On Mon, 30 Aug 2021, Sam Guo wrote:

> Dear PETSc dev team,
>    I am compiling petsc 3.15.3 and got following compiling error
> petsc/src/mat/impls/aij/mpi/mumps/mumps.c:52:31: error: missing binary
> operator before token "("
>    52 | #if PETSC_PKG_MUMPS_VERSION_GE(5,3,0)
>    Any idea what I did wrong?
>
> Thanks,
> Sam
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210831/af6b265f/attachment-0001.html>


More information about the petsc-users mailing list