<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Fahad:</div><div class="gmail_quote">Run your code with '-ts_view' to see what solvers being used for sequential and parallel runs.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Hong</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have written a code to solve a simple differential equation (x’’+x’+6x=0 with initial values, x(0)=2, x’(0)=3). It works well on a single core and produces result close to theoretical answer but whenever I am trying to run the same code
 on multiple cores, I am getting incorrect results. It seems to me that, for multiple cores it stops after taking only 2 steps regardless of the final time and gives the final result (which is inaccurate). I tried different TSType (TSEULER, TSBEULER, TSSUNDIALS,
 TSCN etc.) but I always ended up with the same issue.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can you tell me what possibly may cause this problem? Thanks in advance.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Fahad<u></u><u></u></p>
</div>
</div>

</blockquote></div><br></div></div>