[FLASH-USERS] Question on Grid runtime parameters
Ryan Farber
rjfarber at umich.edu
Wed Jan 1 14:08:47 EST 2025
Hi Jesse,
>From what I recall, those parameters are just for uniform grid simulations;
for AMR simulations you just need to make sure the number of processors *
MAXBLOCKS * buffer_factor >= total_number_of_blocks. For AMR the total
number of blocks varies of course. But it's pretty easy to calculate the
maximum total number of blocks for a given lrefine_max:
max_possible_blocks = 0
do lref=1,lrefine_max
max_possible_blocks = max_possible_blocks + (2**NDIM)**(lref-1)
enddo
And with knowledge of your problem you might estimate a suitable fraction
of the maximum possible blocks you expect in your simulation.
Best wishes,
--------
Ryan
On Wed, Jan 1, 2025 at 10:36 AM Jesse Chen <cxxgc at msn.com> wrote:
> Dear Flash Users,
>
>
>
> I am using LaserSlab unit to simulate a 2-D case. I found in the User
> Guide Section 8.5.1 FIXEDBLOCKSIZE Mode that the “iprocs × jprocs ×
> kprocs with the constraint that this product must be equal to the number of
> processors that the simulation is using”. My question is do I still have to
> follow this rule if I use AMR configuration instead?
>
>
>
> My second question is if I am using AMR, do I have to specify i/jGridsize?
> Are they still redundant?
>
>
>
> Cheers,
>
>
>
> Jesse Chen
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250101/9bcb4862/attachment.htm>
More information about the flash-users
mailing list