Hi Stephen,<div><br></div><div>You should have both:</div><div><br></div><div>LIB_HYPRE= -L (path to hypre directory)/lib</div><div><br></div><div>and :</div><div><br></div><div>FFLAGS_HYPRE= -I (path to hypre directory)/include</div>
<div><br><br></div><div>Sam</div><div><br></div><div><br><div class="gmail_quote">On Thu, Sep 8, 2011 at 1:11 AM, Stephen Brian Amsel <span dir="ltr"><<a href="mailto:samsel@umich.edu">samsel@umich.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi everyone,<br>
<br>
I'm trying to use the HYPRE grid-solver built into Flash 4 and ran into a problem which should be remarkably easy to fix. What lines should be written into my Makefile.h to let the compiler see the the library and headers?<br>
<br>
So far I have tried<br>
LIB_HYPRE = (path to directory "hypre-2.7.0b") as directed by the make-script<br>
LIB_HYPRE = -L (path to "hypre-2.7.0b/hypre/lib") matching the convention of other environment-variables starting with "LIB_"<br>
LIB_HYPRE = -L (same as #2) -I (path to headers)<br>
I also tried FFLAGS_HYPRE = (path to headers) with -L (path to lib as above)<br>
<br>
Have a nice day!<br><font color="#888888">
-Stephen<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br><pre><font face="'courier new', monospace"><span style="line-height:17px;white-space:normal"><font color="#333333">
<p style="font-size:x-small"><span style="font-family:arial;font-size:small;line-height:normal"></span></p><pre><font face="'courier new', monospace"><span style="line-height:17px;white-space:normal"><p></p><pre>
<font face="'courier new', monospace"><span style="line-height:17px;white-space:normal"><p>Sam Olofin</p><p>Flash Center for Computational Science</p><p>University of Chicago</p><p>5747 S. Ellis Ave JO 313</p><p>
Chicago, IL 60637</p>
<p>Email: <a href="mailto:sam@flash.uchicago.edu" target="_blank">sam@flash.uchicago.edu</a></p><p>Tel: 773.834.1283</p></span></font></pre><p></p></span></font></pre></font></span><p style="font-size:x-small;color:rgb(42, 42, 42)">
</p></font></pre><br>
</div>