[FLASH-USERS] changing maxblocks
Sean Couch
smc at flash.uchicago.edu
Fri Aug 28 11:55:55 EDT 2015
Argh. Don’t do that. Flash.h should not be edited as it may cause unexpected side effects. AAAND, you will have to recompile the code anyway so that the new value of MAXBLOCKS is used. Since MAXBLOCKS appears in a ton of code, the cost of just running setup again is not that much more.
Sean
> On Aug 28, 2015, at 11:50 AM, Slavin, Jonathan <jslavin at cfa.harvard.edu> wrote:
>
> Hi Nasiri,
>
> I wondered about that. I saw that it was set there, but wondered if doing that would cause some other problems. In the User's Guide it says "The Flash.h file is written by the setup script and should not be modified by the user." I don't know why that should be.
>
> Jon
>
> On Fri, Aug 28, 2015 at 11:43 AM, Nasiri, Farshad <fnasiri at email.gwu.edu <mailto:fnasiri at email.gwu.edu>> wrote:
> You can modify that in Flash.h.
>
>
> On Friday, August 28, 2015, Slavin, Jonathan <jslavin at cfa.harvard.edu <mailto:jslavin at cfa.harvard.edu>> wrote:
> Hi,
>
> I'm pretty new to using FLASH. I've run some simulations that started with the sedov setup, though I've modified the Simulation_initBlock.F90 and a few other files. I ran into, what appears to be, a common problem, which is an MPI_Abort caused by a PARAMESH ERROR with the message (in amr.log): New block location exceeds MAXBLOCKS limit
> Suggestion: increase MAXBLOCKS or modify refinement criteria.
>
> My question is, if I just want to increase MAXBLOCKS, can I do that without running setup again? If so, how? I'll note that I've been using flmake, which allows for use of a different directory other than "object". Thanks in advance for any help.
>
> Regards,
> Jon
>
> --
> ________________________________________________________
> Jonathan D. Slavin Harvard-Smithsonian CfA
> jslavin at cfa.harvard.edu <> 60 Garden Street, MS 83
> phone: (617) 496-7981 <tel:%28617%29%20496-7981> Cambridge, MA 02138-1516
> cell: (781) 363-0035 <tel:%28781%29%20363-0035> USA
> ________________________________________________________
>
>
>
>
> --
> ________________________________________________________
> Jonathan D. Slavin Harvard-Smithsonian CfA
> jslavin at cfa.harvard.edu <mailto:jslavin at cfa.harvard.edu> 60 Garden Street, MS 83
> phone: (617) 496-7981 Cambridge, MA 02138-1516
> cell: (781) 363-0035 USA
> ________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20150828/76b6aad2/attachment-0001.htm>
More information about the flash-users
mailing list