[petsc-dev] Fwd: [petsc-maint] compile PETSc with HYPRE

Matthew Knepley knepley at gmail.com
Tue May 21 05:39:29 CDT 2013


On Mon, May 20, 2013 at 8:15 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>
> Begin forwarded message:
>
> > From: "Jian Du" <du at math.utah.edu>
> > Subject: Re: [petsc-maint] compile PETSc with HYPRE
> > Date: May 20, 2013 3:26:18 PM CDT
> > To: "Jed Brown" <jedbrown at mcs.anl.gov>
> > Cc: petsc-maint at mcs.anl.gov, du at math.utah.edu
> > Reply-To: du at math.utah.edu
> >
> > Jed,
> >
> > Thank you for replying. The problem is gone after I reset the variable
> > 'C_INCLUDE_PATH' and remove the old values.
>
>     Is there we can make PETSc configure and make not let this variable
> waste peoples time? (Configure I know can force it to be ignored, does it
> currently?)
>

Was it us picking this up through CMake, or was it the Hypre build?

   Matt


>     Thanks
>
>         Barry
>
> >
> > Jian  Du
> >
> >
> >> Jian Du <du at math.utah.edu> writes:
> >>
> >>> Dear PETSc Developer,
> >>>
> >>> I am now trying to compile PETSc, for which I want to use PC from
> HYPRE.
> >>> I used configure option '--download-hypre', but always got error
> >>> messages
> >>> like ''PC_HYPRE' has no member named xxx' during make. Could you please
> >>> let me know what is the possible cause of this? I have attached
> make.log
> >>> file for your reference.
> >>
> >> I suspect you have a broken version of Hypre somewhere, perhaps in your
> >> environment.
> >>
> >> /u/ma/du/petsc-3.3-p7/src/ksp/pc/impls/hypre/hypre.c:19: error: expected
> >> specifier-qualifier-list before 'HYPRE_Int'
> >> /u/ma/du/petsc-3.3-p7/src/ksp/pc/impls/hypre/hypre.c: In function
> >> 'PCSetUp_HYPRE':
> >> /u/ma/du/petsc-3.3-p7/src/ksp/pc/impls/hypre/hypre.c:85: error:
> 'PC_HYPRE'
> >> has no member named 'hypre_type'
> >>
> >> You can use the -M compiler option to figure out where the Hypre headers
> >> are coming from.
> >>
> >>>
> >>> I have tried the compiling with the latest version of PETSc and got the
> >>> similar errors.
> >>
> >
> >
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130521/bdb265bd/attachment.html>


More information about the petsc-dev mailing list