[FLASH-USERS] flmake not picking up files in proj/simulations
Slavin, Jonathan
jslavin at cfa.harvard.edu
Fri Jun 13 15:53:56 EDT 2014
Hi Anthony,
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
flmake build -j 4
flmake run -n 4 -m "some comment about the run"
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
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.
Jon
On Fri, Jun 13, 2014 at 3:31 PM, Anthony Scopatz <scopatz at flash.uchicago.edu
> wrote:
> Hi Jon,
>
> 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.
>
> Be Well
> Anthony
>
>
> On Fri, Jun 13, 2014 at 10:45 AM, Slavin, Jonathan <
> jslavin at cfa.harvard.edu> wrote:
>
>> Hi,
>>
>> Maybe this is another issue for Anthony Scopatz, or maybe someone else
>> who has used flmake can help.
>>
>> 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.
>>
>> Any ideas what could cause that? Where does flmake get its search path?
>>
>> Jon
>>
>> --
>> ________________________________________________________
>> Jonathan D. Slavin Harvard-Smithsonian CfA
>> jslavin at cfa.harvard.edu 60 Garden Street, MS 83
>> phone: (617) 496-7981 Cambridge, MA 02138-1516
>> fax: (617) 496-7577 USA
>> ________________________________________________________
>>
>>
>
>
> --
> Anthony Scopatz
> Post-doctoral Scholar
> The FLASH Center for Computational Science
> Dept. of Astronomy and Astrophysics
> The University of Chicago
> cell: (512) U2-PU239
> office: (773) 834-2705
> fax:(773) 834-3230
> http://flash.uchicago.edu
>
--
________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
fax: (617) 496-7577 USA
________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20140613/332c379e/attachment-0001.htm>
More information about the flash-users
mailing list