<div dir="ltr">Yes, I agree, the value for jmin / jmax are not changed from 1 for NDIM =1, so the loop over jmin-2 : jmax+2 would cause issues. <div><br></div><div>I wonder if a simple fix would be to set a variable, say jbuff, to 2 in the case of NDIM >= 2, and 0 for NDIM=1, where the loops go over jmin-jbuff, jmax+jbuff. Likely something similar needs to be done for k loops for the case with NDIM < 3. </div><div><br></div><div>-Mark</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 June 2017 at 18:56, Siyi Yu <span dir="ltr"><<a href="mailto:siyiyu@lbl.gov" target="_blank">siyiyu@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi! Thank  you very much for your answer. Here is the response of the code:<br>:<img alt="Inline image 1" src="cid:ii_15c69f1ed9cb8134" height="29" width="563"><br></div>I think in this case no way can I run 1D simulation in such example, isn't it?<br></div>Best<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Siyi<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 2, 2017 at 1:07 AM, Mark Richardson <span dir="ltr"><<a href="mailto:mark.richardson.work@gmail.com" target="_blank">mark.richardson.work@gmail.<wbr>com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="m_6903620458821348372h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Siyi,<div><br></div><div>  Are you running in serial, or parallel? If some processors do not have any blocks (common in small 1D problems), I used to get a similar crash. If it is serial, you can recompile with the -debug flag during setup, and then you should get information about what is causing the crash. </div><div><br></div><div>Cheers,</div><div>  -Mark</div><div><br></div></div><div class="gmail_extra"><div><div class="m_6903620458821348372m_938372496663144078h5"><br><div class="gmail_quote">On 2 June 2017 at 06:31, Siyi Yu <span dir="ltr"><<a href="mailto:siyiyu@lbl.gov" target="_blank">siyiyu@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Dear all,<br></div>I tried to lance a 1d simulation MHD simulation. But after one simulation step the terminal gave me this information:.<br><img alt="Inline image 1" src="cid:ii_15c6747180dc4a21" height="162" width="532"><br><br>My set up line is here:<br>/setup -auto magnetoHD/NohCylindrical/ -1d +cylindrical -nxb=300 +usm -objdir=Test2<br></div>I have taken directly the NohCylindrical example. It seems to me well a 1D problem. Had anyone met the same problem? Why the 1D simulation doesn't work here?<br><div><br></div><div>Best<span class="m_6903620458821348372m_938372496663144078m_-1144914947377915965HOEnZb"><font color="#888888"><br></font></span></div><span class="m_6903620458821348372m_938372496663144078m_-1144914947377915965HOEnZb"><font color="#888888"><div>Siyi<br></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_6903620458821348372m_938372496663144078HOEnZb"><font color="#888888">-- <br><div class="m_6903620458821348372m_938372496663144078m_-1144914947377915965gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr"><span style="font-size:12.8px">Mark Richardson</span><br style="font-size:12.8px"><div><span style="font-size:12.8px">Beecroft Postdoctoral Fellow, Department of Physics</span><div style="font-size:12.8px">Denys Wilkinson Building - 555F</div><div><span style="font-size:12.8px">University of Oxford</span><div style="font-size:12.8px"><a href="mailto:Mark.Richardson@physics.ox.ac.uk" target="_blank">Mark.Richardson@physics.ox.ac.<wbr>uk</a></div><div><a href="https://sites.google.com/site/marklarichardson/" target="_blank">My Website</a><br><div style="font-size:12.8px"><a href="tel:+44%201865%20283020" value="+441865283020" target="_blank">+44 1865 283020</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div class="m_6903620458821348372m_938372496663144078gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br>Mark Richardson<br><div><div><div class="m_6903620458821348372h5">Beecroft Postdoctoral Fellow, Department of Physics<div>Denys Wilkinson Building - 555F</div></div></div><div>University of Oxford<div><a href="mailto:Mark.Richardson@physics.ox.ac.uk" target="_blank">Mark.Richardson@physics.ox.ac.<wbr>uk</a><br><div><a href="tel:+44%201865%20280793" value="+441865280793" target="_blank">+44 1865 280793</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br>Mark Richardson<br><div>Beecroft Postdoctoral Fellow, Department of Physics<div>Denys Wilkinson Building - 555F</div><div>University of Oxford<div><a href="mailto:Mark.Richardson@physics.ox.ac.uk" target="_blank">Mark.Richardson@physics.ox.ac.uk</a><br><div>+44 1865 280793</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>