<div dir="ltr"><div>Hi Jesse,</div><div><br></div><div>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:</div><div><br></div><div>max_possible_blocks = 0</div><div>do lref=1,lrefine_max</div><div>  max_possible_blocks = max_possible_blocks + (2**NDIM)**(lref-1)</div><div>enddo</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><br></div><div>And with knowledge of your problem you might estimate a suitable fraction of the maximum possible blocks you expect in your simulation.</div><div dir="ltr"><br></div><div>Best wishes,</div><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jan 1, 2025 at 10:36 AM Jesse Chen <<a href="mailto:cxxgc@msn.com">cxxgc@msn.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-7610610377965348758">





<div lang="EN-GB" style="overflow-wrap: break-word;">
<div class="m_1342664430040738265WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear Flash Users, <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">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
</span><span lang="ZH-CN">×</span><span lang="EN-US"> jprocs </span><span lang="ZH-CN">×</span><span lang="EN-US"> 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?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">My second question is if I am using AMR, do I have to specify i/jGridsize? Are they still redundant?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Cheers, <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Jesse Chen<u></u><u></u></span></p>
</div>
</div>

_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</div></blockquote></div>