<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 2 Nov 2017, at 11:20, dumsani &lt;<a href="mailto:g14n8326@campus.ru.ac.za">g14n8326@campus.ru.ac.za</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br>On 02/11/2017 10:46, Ian Hinder wrote:<br><blockquote type="cite">On 2 Nov 2017, at 01:41, dumsani &lt;<a href="mailto:g14n8326@campus.ru.ac.za">g14n8326@campus.ru.ac.za</a>&gt; wrote:<br><br><blockquote type="cite">I think I have figured it out eventually. Thanks, Ian.<br></blockquote>Good to hear! &nbsp;Would it be useful to summarise the cause of the problem to the mailing list, in case it helps others?<br><br></blockquote><br>The following 3 options were enough, as you suggested.<br>Carpet::max_refinement_levels&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1<br>Carpet::refinement_factor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1<br>CarpetRegrid2::num_centres&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br><br>After setting these properly, it turned out the crash wasn't due to Carpet. It was now due to inappropriate memory allocation by the scheduler in my initial data code.<br></blockquote><div><br></div><div>Hi,</div><div><br></div><div>The refinement_factor shouldn't need to be set. &nbsp;You can achieve a unigrid setup either by setting num_centres to 0, or by setting the number of levels in each centre to 1.</div></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>--&nbsp;</div><div>Ian Hinder</div><div><a href="http://members.aei.mpg.de/ianhin">http://members.aei.mpg.de/ianhin</a></div></div></div></div></div>
</div>
<br></body></html>