<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi Anthony,</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
So I did leave something out of my message. That is that when, today, I did</div><div class="gmail_default" style="font-family:verdana,sans-serif">./setup Sedov -auto</div><div class="gmail_default" style="font-family:verdana,sans-serif">
(in the main FLASH directory) and then</div><div class="gmail_default" style="font-family:verdana,sans-serif">cd object</div><div class="gmail_default" style="font-family:verdana,sans-serif">make</div><div class="gmail_default" style="font-family:verdana,sans-serif">
I had the same problem as with using flmake. But when I followed the same steps a few days ago, I didn't have this problem. The only thing that has changed in the meantime is that I used flmake. So it seems to me that flmake must have generated some file that has changed the way setup creates the Makefile.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">The flmake commands were (in a sub-directory temp under main dir):</div><div class="gmail_default" style="font-family:verdana,sans-serif">flmake setup Sedov -auto</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">flmake build</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
Which routine actually writes the Makefile? It seems to involve a bunch of routines in FLASH4.0.1/bin, at least using setup.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
Jon</div><div class="gmail_extra"><br clear="all"><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>
<br><br><div class="gmail_quote">On Fri, Jun 14, 2013 at 1:17 PM, Anthony Scopatz <span dir="ltr"><<a href="mailto:scopatz@flash.uchicago.edu" target="_blank">scopatz@flash.uchicago.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">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><br></div><div>Thanks.</div><div><br></div><div>Be Well</div><div>Anthony</div></div><div class="gmail_extra"><div><div class="h5"><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 style="font-family:verdana,sans-serif">Hi all,</div><div style="font-family:verdana,sans-serif">
<br></div><div 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 style="font-family:verdana,sans-serif"><br></div><div style="font-family:verdana,sans-serif">Comparing the successful Makefile and unsuccessful Makefile I got this from diff:</div>
<div><div><font face="verdana, sans-serif">51,52c51,52</font></div><div><font face="verdana, sans-serif">< LIB := $(LIB_HDF5) $(LIB_MPI) $(LIB_OPT)</font></div>
<div><font face="verdana, sans-serif">< CFLAGS := $(CFLAGS_HDF5) $(CFLAGS_OPT)</font></div><div><font face="verdana, sans-serif">---</font></div><div><font face="verdana, sans-serif">> LIB := $(LIB_HDF5) $(LIB_MPI) $(LIB)</font></div>
<div><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: <a href="tel:%28617%29%20496-7981" value="+16174967981" target="_blank">(617) 496-7981</a> Cambridge, MA 02138-1516<br>
fax: <a href="tel:%28617%29%20496-7577" value="+16174967577" target="_blank">(617) 496-7577</a> USA<br>________________________________________________________<br>
<br></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><font face="'times new roman', serif"><span style="color:rgb(34,34,34);font-size:13px">Anthony Scopatz</span><br style="color:rgb(34,34,34);font-size:13px">
<span style="color:rgb(34,34,34);font-size:13px">Post-doctoral Scholar<br></span></font><div><font face="'times new roman', serif"><span style="color:rgb(34,34,34);font-size:13px">The FLASH Center for Computational Science</span><br style="color:rgb(34,34,34);font-size:13px">
<span style="color:rgb(34,34,34);font-size:13px">Dept. of Astronomy and Astrophysics</span><br style="color:rgb(34,34,34);font-size:13px"><span style="color:rgb(34,34,34);font-size:13px">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"><span style="color:rgb(34,34,34);font-size:13px">office: (</span><a href="tel:773%29%20834-2705" value="+17738342705" target="_blank">773) 834-2705</a><br style="color:rgb(34,34,34);font-size:13px">
<span style="color:rgb(34,34,34);font-size:13px">fax:(</span><a href="tel:773%29%20834-3230" value="+17738343230" target="_blank">773) 834-3230</a><br style="color:rgb(34,34,34);font-size:13px"><a href="http://flash.uchicago.edu/" style="color:rgb(17,85,204);font-size:13px" target="_blank">http://flash.uchicago.edu</a></font></div>
</font></span></div>
</blockquote></div><br></div></div>