<div dir="ltr">Thanks Roman!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 11:31 AM, Roman Yurchak <span dir="ltr"><<a href="mailto:roman.yurchak@crans.org" target="_blank">roman.yurchak@crans.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jon,<br>
<br>
I'll reply for Anthony. After you do the flmake setup, for instance<br>
the proj/setup/Simulation_init.F90 should be a symbolic link to<br>
proj/simulations/Sedov/<u></u>Simulation_init.F90 . Any changes you make there then will be<br>
included when you recompile the flash4 binary.<br>
<br>
In your case however it looks like the "flmake setup" did not recognize that there were a local simulation directory.<br>
When  you do the setup it outputs a list of paths that should contain  simulations/Sedov<br>
and not include Simulation/SimulationMain/<u></u>Sedov.<br>
You did the flmake setup Sedov from inside of the proj directory right? That should work.<br>
Otherwise you can try renaming your local Sedov directory to say Sedov2 and do a<br>
  flmake setup Sedov2  etc..<br>
in order to be sure.<br>
<br>
Best,<br>
-- <br>
Roman<br>
On 2014-06-13 21:53, Slavin, Jonathan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Anthony,<br>
<br>
 So lets call my project directiory proj  What I thought I could do<div class=""><br>
is just edit the files under proj/simulations/Sedov/ and then do<br>
flmake build -j 4<br>
flmake run -n 4 -m "some comment about the run"<br>
<br>
Ive been doing that and by varying parameters via editing flashrc.py<br>
in proj/.  That worked fine.  But then when I edited<br>
proj/simulations/Sedov/<u></u>Simulation_init.F90 including a write<br></div>
statement, I found, that it wasnt using that file but instead was<div class=""><br>
using the version in FLASH4.2.1/source/Simulation/<u></u>SimulationMain/Sedov<br>
<br>
<br></div>
I assume that its not necessary to do "flmake setup" each time -- that<div class=""><br>
would defeat the purpose.  The docs say that flmake is supposed to<br></div>
look under proj/simulations/Sedov first.  Im thinking that maybe<br>
something in my setup could be wrong, maybe Im missing something in<br>
flash_desc.json?  Its hard to tell.<div class=""><br>
<br>
Jon<br>
<br>
 On Fri, Jun 13, 2014 at 3:31 PM, Anthony Scopatz<br></div>
<<a href="mailto:scopatz@flash.uchicago.edu" target="_blank">scopatz@flash.uchicago.edu</a> [8]> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Hi Jon, <br>
<br>
Where are you running flmake from?  Could you post the commands to<br>
reproduce this?  As I recall, flmake first looks in your local<br>
simulations directory and then looks in the flash source dir.<br>
<br>
Be Well<br>
Anthony<br>
<br>
On Fri, Jun 13, 2014 at 10:45 AM, Slavin, Jonathan<br></div>
<<a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a> [4]> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Hi,<br>
<br>
Maybe this is another issue for Anthony Scopatz, or maybe someone<br>
else who has used flmake can help.<br>
<br>
For some reason flmake build is not picking up routines that are<br>
under (project directory)/simulations.  In particular I altered<br>
Simulation_init.F90 under my (project directory)/simulations/Sedov<br>
directory and it was not picked up -- as demonstrated by the fact<br></div>
that a write statement didnt produce output.  Also, as it turns<div class=""><br>
out, I had a bug in the program which showed up when I copied my<br>
version over to FLASH4.2.1/source/Simulation/<u></u>SimulationMain/Sedov<br>
at which point it was picked up by flmake build.<br>
<br>
Any ideas what could cause that?  Where does flmake get its<br>
search path?<br>
<br>
Jon<br>
</div></blockquote></blockquote></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Roman Yurchak<br>
PhD student<br>
Laboratoire LULI<br>
Ecole Polytechnique, France<br>
<br>
</font></span></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>