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

Barry Smith bsmith at mcs.anl.gov
Mon May 20 20:15:43 CDT 2013



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?)

    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.
>> 
> 
> 




More information about the petsc-dev mailing list