<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi Klaus,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thanks for clearing that up. Still that's only 258 MB vs. total memory of 32 GB. </div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">In fact I just redid the run with maxblocks set to 8000 on 10 processors and it went for much longer. It did eventually fail with "Too many blocks!  Increase MAXBLOCKS or use more processors."</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">For me the takeaway is that when getting close to running out of blocks FLASH will sometimes get into this mode where it iterates more and more when refining. It's a symptom of running out of blocks, not running out of memory (at least in my case).</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Jon</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 24, 2019 at 5:04 PM Klaus Weide <<a href="mailto:klaus@flash.uchicago.edu">klaus@flash.uchicago.edu</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">On Tue, 24 Sep 2019, Slavin, Jonathan wrote:<br>
<br>
> It looks like the total blocks is approaching the maximum allocated via<br>
> maxblocks, but I don't think the used memory is approaching the available<br>
> memory. My machine has 32 GB of memory. If I'm understanding the<br>
> calculation in the user's guide correctly the total memory requirement is<br>
> 14 (NUNK_VARS) * ( 8 (nguard) + 16 (nxb)) * ( 8 + 16 (nyb))* 4000<br>
> (maxblocks) = 32 MB<br>
> is that right? <br>
<br>
You forgot a factor of 8 (bytes per real number).<br>
<br>
Klaus<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="font-size: 12.6667px; font-family: Arial; white-space: pre-wrap; border: none;"></div><div dir="ltr">Jonathan D. Slavin</div><div dir="ltr">Astrophysicist - High Energy Astrophysics Division</div><div dir="ltr">Center for Astrophysics | Harvard & Smithsonian</div><div dir="ltr">Office: (617) 496-7981 | Cell: (781) 363-0035<br>60 Garden Street | MS 83 | Cambridge, MA 02138</div></div><div dir="ltr"><span><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="border: none;"></span><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></p></span></div></div></div></div></div></div></div>