<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Anthony,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
So let's call my project directiory proj What I thought I could do is just edit the files under proj/simulations/Sedov/ and then do</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">flmake build -j 4</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">flmake run -n 4 -m "some comment about the run"</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I've been doing that and by varying parameters via editing flashrc.py in proj/. That worked fine. But then when I edited proj/simulations/Sedov/Simulation_init.F90 including a write statement, I found, that it wasn't using that file but instead was using the version in FLASH4.2.1/source/Simulation/SimulationMain/Sedov</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I assume that it's not necessary to do "flmake setup" each time -- that would defeat the purpose. The docs say that flmake is supposed to look under proj/simulations/Sedov first. I'm thinking that maybe something in my setup could be wrong, maybe I'm missing something in flash_desc.json? It's hard to tell.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Jon</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jun 13, 2014 at 3:31 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>Where are you running flmake from? Could you post the commands to reproduce this? As I recall, flmake first looks in your local simulations directory and then looks in the flash source dir.</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 13, 2014 at 10:45 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:arial,helvetica,sans-serif">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Maybe this is another issue for Anthony Scopatz, or maybe someone else who has used flmake can help.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
For some reason flmake build is not picking up routines that are under (project directory)/simulations. In particular I altered Simulation_init.F90 under my (project directory)/simulations/Sedov directory and it was not picked up -- as demonstrated by the fact that a write statement didn't produce output. Also, as it turns out, I had a bug in the program which showed up when I copied my version over to FLASH4.2.1/source/Simulation/SimulationMain/Sedov at which point it was picked up by flmake build.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Any ideas what could cause that? Where does flmake get its search path?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Jon</div><span><font color="#888888"><div><br></div>
-- <br><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>
</font></span></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;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><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;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-size:13px;background-color:rgb(255,255,255)">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;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>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><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>