[FLASH-USERS] flmake not picking up files in proj/simulations

Anthony Scopatz scopatz at flash.uchicago.edu
Tue Jun 17 12:46:49 EDT 2014


Thanks Roman!


On Tue, Jun 17, 2014 at 11:31 AM, Roman Yurchak <roman.yurchak at crans.org>
wrote:

> Hi Jon,
>
> I'll reply for Anthony. After you do the flmake setup, for instance
> the proj/setup/Simulation_init.F90 should be a symbolic link to
> proj/simulations/Sedov/Simulation_init.F90 . Any changes you make there
> then will be
> included when you recompile the flash4 binary.
>
> In your case however it looks like the "flmake setup" did not recognize
> that there were a local simulation directory.
> When  you do the setup it outputs a list of paths that should contain
>  simulations/Sedov
> and not include Simulation/SimulationMain/Sedov.
> You did the flmake setup Sedov from inside of the proj directory right?
> That should work.
> Otherwise you can try renaming your local Sedov directory to say Sedov2
> and do a
>   flmake setup Sedov2  etc..
> in order to be sure.
>
> Best,
> --
> Roman
> On 2014-06-13 21:53, Slavin, Jonathan wrote:
>
>> Hi Anthony,
>>
>>  So lets 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"
>>
>> Ive 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 wasnt using that file but instead was
>>
>> using the version in FLASH4.2.1/source/Simulation/SimulationMain/Sedov
>>
>>
>> I assume that its 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.  Im thinking that maybe
>> something in my setup could be wrong, maybe Im missing something in
>> flash_desc.json?  Its hard to tell.
>>
>>
>> Jon
>>
>>  On Fri, Jun 13, 2014 at 3:31 PM, Anthony Scopatz
>> <scopatz at flash.uchicago.edu [8]> 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 [4]> 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 didnt 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
>>>>
>>>
> --
> Roman Yurchak
> PhD student
> Laboratoire LULI
> Ecole Polytechnique, France
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20140617/be342b7a/attachment.htm>


More information about the flash-users mailing list