<div dir="ltr">Hi Jon, <div><br></div><div>I am not sure what would cause this difference unless it is flmake is picking up a different Makefile than what the setup script does. What setup script line did you use? What were the flmake commands that you issued to get this, and what are the contents of your flashrc.py if you have one?<br>
</div><div style><br></div><div style>Thanks.</div><div style><br></div><div style>Be Well</div><div style>Anthony</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 14, 2013 at 11:57 AM, Slavin, Jonathan <span dir="ltr"><<a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</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"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi all,</div><div class="gmail_default" style="font-family:verdana,sans-serif">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
I've run into a completely different flmake related problem. Earlier, following the Quickstart instructions (and after a bunch of fiddling with the Makefile) I was able to get FLASH to build and then run successfully. But when I tried the flmake approach, the build failed with an odd error. The error was in the linking.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Comparing the successful Makefile and unsuccessful Makefile I got this from diff:</div>
<div class="gmail_default"><div class="gmail_default"><font face="verdana, sans-serif">51,52c51,52</font></div><div class="gmail_default"><font face="verdana, sans-serif">< LIB := $(LIB_HDF5) $(LIB_MPI) $(LIB_OPT)</font></div>
<div class="gmail_default"><font face="verdana, sans-serif">< CFLAGS := $(CFLAGS_HDF5) $(CFLAGS_OPT)</font></div><div class="gmail_default"><font face="verdana, sans-serif">---</font></div><div class="gmail_default"><font face="verdana, sans-serif">> LIB := $(LIB_HDF5) $(LIB_MPI) $(LIB)</font></div>
<div class="gmail_default"><font face="verdana, sans-serif">> CFLAGS := $(CFLAGS_HDF5) $(CFLAGS_MPI) $(CFLAGS_OPT)</font></div><div style="font-family:verdana,sans-serif">I edited the unsuccesful one and replaced the $(LIB) with $(LIB_OPT) and removed $(CFLAGS_MPI) (though I think the latter has no effect) and voila, success again.</div>
<div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif">So my question is, is that a bug in flmake that causes the generated Makefile to use $(LIB) in that place instead of $(LIB_OPT)? Or do I have some odd configuration that causes that. I'm not so clear on how the Makefile is generated.</div>
<div style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif">Jon</div></div><div><div dir="ltr">________________________________________________________<br>Jonathan D. Slavin Harvard-Smithsonian CfA<br>
<a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a> 60 Garden Street, MS 83<br>phone: (617) 496-7981 Cambridge, MA 02138-1516<br>fax: (617) 496-7577 USA<br>________________________________________________________<br>
<br></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="'times new roman', serif"><span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">Anthony Scopatz</span><br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">Post-doctoral Scholar<br></span></font><div><font face="'times new roman', serif"><span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">The FLASH Center for Computational Science</span><br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">Dept. of Astronomy and Astrophysics</span><br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">The University of Chicago</span></font></div>
<div><font face="'times new roman', serif">cell: (512) U2-PU239<br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">office: (</span>773) 834-2705<br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">fax:(</span>773) 834-3230<br style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)"><a href="http://flash.uchicago.edu/" style="color:rgb(17,85,204);font-size:13px;background-color:rgb(255,255,255)" target="_blank">http://flash.uchicago.edu</a></font></div>
</div>