[FLASH-USERS] changing maxblocks

Sean Couch smc at flash.uchicago.edu
Fri Aug 28 11:16:37 EDT 2015


Hi Jon,

Nope, MAXBLOCKS is set only at setup/compile time.  This is because many static arrays are declared based on MAXBLOCKS.

Another option is to use more MPI processes.  Strictly speaking, MAXBLOCKS is the maximum number of blocks per MPI rank.

Sean

> On Aug 28, 2015, at 11:07 AM, Slavin, Jonathan <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 <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/093d151d/attachment-0001.htm>


More information about the flash-users mailing list