<div dir="ltr">On Mon, May 20, 2013 at 8:15 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Begin forwarded message:<br>
<br>
> From: "Jian Du" <<a href="mailto:du@math.utah.edu">du@math.utah.edu</a>><br>
> Subject: Re: [petsc-maint] compile PETSc with HYPRE<br>
> Date: May 20, 2013 3:26:18 PM CDT<br>
> To: "Jed Brown" <<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>><br>
> Cc: <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a>, <a href="mailto:du@math.utah.edu">du@math.utah.edu</a><br>
> Reply-To: <a href="mailto:du@math.utah.edu">du@math.utah.edu</a><br>
><br>
> Jed,<br>
><br>
> Thank you for replying. The problem is gone after I reset the variable<br>
> 'C_INCLUDE_PATH' and remove the old values.<br>
<br>
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?)<br></blockquote><div><br></div><div style>Was it us picking this up through CMake, or was it the Hypre build?</div>
<div style><br></div><div style> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks<br>
<br>
Barry<br>
<br>
><br>
> Jian Du<br>
><br>
><br>
>> Jian Du <<a href="mailto:du@math.utah.edu">du@math.utah.edu</a>> writes:<br>
>><br>
>>> Dear PETSc Developer,<br>
>>><br>
>>> I am now trying to compile PETSc, for which I want to use PC from HYPRE.<br>
>>> I used configure option '--download-hypre', but always got error<br>
>>> messages<br>
>>> like ''PC_HYPRE' has no member named xxx' during make. Could you please<br>
>>> let me know what is the possible cause of this? I have attached make.log<br>
>>> file for your reference.<br>
>><br>
>> I suspect you have a broken version of Hypre somewhere, perhaps in your<br>
>> environment.<br>
>><br>
>> /u/ma/du/petsc-3.3-p7/src/ksp/pc/impls/hypre/hypre.c:19: error: expected<br>
>> specifier-qualifier-list before 'HYPRE_Int'<br>
>> /u/ma/du/petsc-3.3-p7/src/ksp/pc/impls/hypre/hypre.c: In function<br>
>> 'PCSetUp_HYPRE':<br>
>> /u/ma/du/petsc-3.3-p7/src/ksp/pc/impls/hypre/hypre.c:85: error: 'PC_HYPRE'<br>
>> has no member named 'hypre_type'<br>
>><br>
>> You can use the -M compiler option to figure out where the Hypre headers<br>
>> are coming from.<br>
>><br>
>>><br>
>>> I have tried the compiling with the latest version of PETSc and got the<br>
>>> similar errors.<br>
>><br>
><br>
><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>