<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 15, 2018 at 3:51 PM, TAY wee-beng <span dir="ltr"><<a href="mailto:zonexo@gmail.com" target="_blank">zonexo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm running a CFD code which solves the momentum and Poisson eqns.<br>
<br>
Due to poor scaling with HYPRE at higher cpu no., I decided to try using PETSc with boomeramg and gamg.<br>
<br>
I tested for some small cases and it work well. However, for the large problem which has poor scaling, <font color="#ff0000">it gives an error when I change my Poisson solver from pure HYPRE to PETSc</font> with boomeramg and gamg.<br>
<br>
The error is :<br>
<br>
Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range<br>
<br>
I tried using:<br>
<br>
-poisson_ksp_type richardson -poisson_pc_type hypre -poisson_pc_type_hypre boomeramg<br>
<br>
-poisson_ksp_type gmres -poisson_pc_type hypre -poisson_pc_type_hypre boomeramg<br>
<br>
-poisson_pc_type gamg -poisson_pc_gamg_agg_nsmooths 1<br>
<br><font color="#ff0000">
but they all gave similar error.</font><br></blockquote><div><br></div><div>Did hypre segv?</div><div><br></div><div>In addition to what Matt said, given that this error only occurs on large runs, you can also try </div><div><br></div><div><font color="#cccccc">1) test a debug version. This can sometimes give more info like a stack trace.</font></div><div><br></div><div>2) If you can't get a stack trace, try running with <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">-poisson_pc_type jacobi. This is a dead simple solver. </span></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So why is this so? How should I troubleshoot? I am now running a debug ver of PETSc to check the error msg.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
-- <br>
Thank you very much.<br>
<br>
Yours sincerely,<br>
<br>
==============================<wbr>==================<br>
TAY Wee-Beng (Zheng Weiming) 郑伟明<br>
Personal research webpage: <a href="http://tayweebeng.wixsite.com/website" rel="noreferrer" target="_blank">http://tayweebeng.wixsite.com/<wbr>website</a><br>
Youtube research showcase: <a href="https://www.youtube.com/channel/UC72ZHtvQNMpNs2uRTSToiLA" rel="noreferrer" target="_blank">https://www.youtube.com/channe<wbr>l/UC72ZHtvQNMpNs2uRTSToiLA</a><br>
linkedin: <a href="http://www.linkedin.com/in/tay-weebeng" rel="noreferrer" target="_blank">www.linkedin.com/in/tay-weeben<wbr>g</a><br>
==============================<wbr>==================<br>
<br>
</font></span></blockquote></div><br></div></div>