<div class="gmail_quote">On Fri, Feb 25, 2011 at 12:18, Mohammad Mirzadeh <span dir="ltr"><<a href="mailto:mirzadeh@gmail.com" target="_blank">mirzadeh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Just tried hypre-2.7.0b. That didn't solve the problem either. However, I just found this in my make.log file that might help:<div><br></div><div><div>mhyp.c: In function 'MatZeroEntries_HYPREStruct_3d':</div>
<div>mhyp.c:397: warning: implicit declaration of function 'hypre_StructMatrixClearBoxValues'</div></div></div></blockquote></div><br><div>I just built PETSc with hypre-2.7.0b and it works for me. Are you sure that you are using the new hypre-2.7.0b instead of stale files from hypre-2.0.0? You can check that this function is declared in "_hypre_struct_mv.h", and also check that it is present in the library using</div>
<div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">$ nm ompi/lib/libHYPRE.a |grep hypre_StructMatrixClearBoxValues</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> U hypre_StructMatrixClearBoxValues</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">0000000000004543 T hypre_StructMatrixClearBoxValues</font></div></div><div><br></div><div>The second line shows that the symbol is defined in that archive.</div>
<div><br></div><div>Background: they intended this to be a private function, but did not provide a public interface to zero the entries, therefore PETSc calls this private function which is declared in</div><div><br></div>
<div>#include "_hypre_struct_mv.h"</div><div><br></div><div>included via "mhyp.h" from "mhyp.c".</div>