<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at 11:28 AM Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</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">
<div dir="ltr">
<div dir="ltr">On Wed, Mar 13, 2019 at 12:16 PM Zhang, Junchao via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov" target="_blank">petsc-dev@mcs.anl.gov</a>> wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">I met some errors with cuda + mumps.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>It does not look like CUDA is being used in these runs. Is it? If not, do you mean MUMPS goes crazy if we even compiler something with CUDA?</div>
</div>
</div>
</blockquote>
<div>No, the tests do not use GPU.  I need further investigation.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
</div>
<div>  Thanks,</div>
<div><br>
</div>
<div>     Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">It was tested with</div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div dir="ltr">
<div>make -f gmakefile test search='snes_tutorials-ex69_q2p1fetidp_deluxe snes_tutorials-ex62_fetidp_2d_quad snes_tutorials-ex69_q2p1fetidp_deluxe_adaptive ksp_ksp_tutorials-ex52f_mumps'</div>
</div>
</blockquote>
<div dir="ltr">
<div>I can reproduce it with petsc master.  The first line of petsc nightly (<a href="http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2019/03/12/master.html" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2019/03/12/master.html</a>)
 shows another error. But I guess they have the same root: PETSc gives random wrong results in some cases. For example, I ran ksp_ksp_tutorials-ex52f_mumps twice and saw</div>
<div><br>
</div>
</div>
</div>
</div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div>
<div>
<div>
<div>$ mpirun -n 3 ./ex52f</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>Mumps row pivot threshhold =    1.00E-06</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>Mumps determinant=(   9.01E-01   0.00E+00)*2^ 99</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div><b>Norm of error  1.5554E-06 iterations     1</b></div>
</div>
</div>
</div>
<div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>$ mpirun -n 3 ./ex52f</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>Mumps row pivot threshhold =    1.00E-06</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>Mumps determinant=(   9.01E-01   0.00E+00)*2^ 99</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div><b>Norm of error  1.6356E-06 iterations     1 </b></div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<div>The correct output has "<b>Norm of error < 1.e-12,iterations     1</b>".  Currently, I do know the reason.</div>
<div><br>
</div>
<div>
<div>
<div>
<div>
<div dir="ltr" class="gmail-m_-5394328279426688104gmail-m_-2683293578980007706gmail-m_8863150695118396885gmail_signature">
<div dir="ltr">--Junchao Zhang</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_-5394328279426688104gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener</div>
<div><br>
</div>
<div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>