<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>