[petsc-users] PETSc 3.15.3 compiling error
Sam Guo
sam.guo at cd-adapco.com
Tue Aug 31 16:42:57 CDT 2021
Attached please find the latest configure.log.
grep MUMPS_VERSION
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/*.h
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/cmumps_c.h:#ifndef
MUMPS_VERSION
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/cmumps_c.h:#define
MUMPS_VERSION "5.2.1"
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/cmumps_c.h:#ifndef
MUMPS_VERSION_MAX_LEN
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/cmumps_c.h:#define
MUMPS_VERSION_MAX_LEN 30
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/cmumps_c.h:
char version_number[MUMPS_VERSION_MAX_LEN + 1 + 1];
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/dmumps_c.h:#ifndef
MUMPS_VERSION
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/dmumps_c.h:#define
MUMPS_VERSION "5.2.1"
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/dmumps_c.h:#ifndef
MUMPS_VERSION_MAX_LEN
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/dmumps_c.h:#define
MUMPS_VERSION_MAX_LEN 30
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/dmumps_c.h:
char version_number[MUMPS_VERSION_MAX_LEN + 1 + 1];
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/smumps_c.h:#ifndef
MUMPS_VERSION
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/smumps_c.h:#define
MUMPS_VERSION "5.2.1"
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/smumps_c.h:#ifndef
MUMPS_VERSION_MAX_LEN
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/smumps_c.h:#define
MUMPS_VERSION_MAX_LEN 30
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/smumps_c.h:
char version_number[MUMPS_VERSION_MAX_LEN + 1 + 1];
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/zmumps_c.h:#ifndef
MUMPS_VERSION
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/zmumps_c.h:#define
MUMPS_VERSION "5.2.1"
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/zmumps_c.h:#ifndef
MUMPS_VERSION_MAX_LEN
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/zmumps_c.h:#define
MUMPS_VERSION_MAX_LEN 30
/u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/zmumps_c.h:
char version_number[MUMPS_VERSION_MAX_LEN + 1 + 1];
On Mon, Aug 30, 2021 at 9:47 PM Satish Balay <balay at mcs.anl.gov> wrote:
> Also - what do you have for:
>
> grep MUMPS_VERSION
> /u/cd4hhv/dev4/mumps/5.2.1-vanilla-parmetis3.2.0-openmp-cda-001/linux-x86_64-2.3.4/include/*.h
>
> Satish
>
> On Mon, 30 Aug 2021, Satish Balay via petsc-users wrote:
>
> > please resend the logs
> >
> > Satish
> >
> > On Mon, 30 Aug 2021, Sam Guo wrote:
> >
> > > Same compiling error with --with-mumps-serial=1.
> > >
> > > On Mon, Aug 30, 2021 at 8:22 PM Satish Balay <balay at mcs.anl.gov>
> wrote:
> > >
> > > > Use the additional option: -with-mumps-serial
> > > >
> > > > Satish
> > > >
> > > > On Mon, 30 Aug 2021, Sam Guo wrote:
> > > >
> > > > > 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>
> wrote:
> > > > >
> > > > > > I use pre-installed
> > > > > >
> > > > > > On Mon, Aug 30, 2021 at 4:53 PM Satish Balay <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/2cbfa0c9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 88745 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210831/2cbfa0c9/attachment-0001.bin>
More information about the petsc-users
mailing list