[FLASH-USERS] Question on Grid runtime parameters
ERNESTO ZURBRIGGEN
ezurbriggen at unc.edu.ar
Thu Jan 2 09:56:11 EST 2025
Hi Ryan,
your answer was useful for me. And I just was wondering what the buffer
factor is.
Best!
Ernesto
On Wed, 1 Jan 2025 at 16:09, Ryan Farber <rjfarber at umich.edu> wrote:
> 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
>>
> _______________________________________________
> 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/20250102/d544f6d3/attachment.htm>
More information about the flash-users
mailing list