<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 18, 2017 at 2:32 PM, Chih-Hao Chen <span dir="ltr"><<a href="mailto:chih-hao.chen2@mail.mcgill.ca" target="_blank">chih-hao.chen2@mail.mcgill.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>

<div id="m_2527757693675839277divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>Thanks for the quick reply.</p>
<p>So if I specify matrix A and RHS vector b in parallel forms,</p>
<p>ie. having them distributed across several cores,</p>
<p>when I using the functions like MatMult, VecAYPX and etc.,</p>
<p>all the operations would be executed in parallel too?</p>
<p></p></div></div></blockquote><div><br></div><div>Yes</div><div><br></div><div>  Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div id="m_2527757693675839277divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr"><p>Thanks very much.</p>
<p><br>
</p>
<p><br>
Best,</p>
<p>Chih-Hao<br>
</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_2527757693675839277divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Hong <<a href="mailto:hzhang@mcs.anl.gov" target="_blank">hzhang@mcs.anl.gov</a>><br>
<b>Sent:</b> 18 January 2017 15:24:41<br>
<b>To:</b> Chih-Hao Chen<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] About GMRES Solver in PETSc</font>
<div> </div>
</div>
<div>
<div dir="ltr">Yes.
<div>Hong<br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jan 18, 2017 at 2:22 PM, Chih-Hao Chen <span dir="ltr">
<<a href="mailto:chih-hao.chen2@mail.mcgill.ca" target="_blank">chih-hao.chen2@mail.mcgill.ca</a><wbr>></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 id="m_2527757693675839277m_-5920937604223386778divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello,</p>
<p><br>
</p>
<p>Sorry for this bother.</p>
<p>I"ve checked  GMRES solver in your libary supports parallel computing in your website:</p>
<p><a href="http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html" class="m_2527757693675839277m_-5920937604223386778OWAAutoLink" id="m_2527757693675839277m_-5920937604223386778LPlnk764392" target="_blank">http://www.mcs.anl.gov/petsc/d<wbr>ocumentation/linearsolvertable<wbr>.html.</a></p>
<p></p>
<div id="m_2527757693675839277m_-5920937604223386778LPBorder_GT_14847706656900.6576731137638459" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px">
<table id="m_2527757693675839277m_-5920937604223386778LPContainer_14847706656800.19886777582383286" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td id="m_2527757693675839277m_-5920937604223386778TextCell_14847706656820.996795743676658" style="vertical-align:top;padding:0px;display:table-cell" colspan="2">
<div id="m_2527757693675839277m_-5920937604223386778LPRemovePreviewContainer_14847706656820.9878326030102383">
</div>
<div id="m_2527757693675839277m_-5920937604223386778LPTitle_14847706656820.23749509506040334" style="color:rgb(54,159,71);font-weight:400;font-size:21px;font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;line-height:21px">
<a id="m_2527757693675839277m_-5920937604223386778LPUrlAnchor_14847706656850.7376248835179496" style="text-decoration:none" href="http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html" target="_blank">Summary of Sparse Linear Solvers Available from PETSc</a></div>
<div id="m_2527757693675839277m_-5920937604223386778LPMetadata_14847706656870.7522620725399228" style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:14px">
<a href="http://www.mcs.anl.gov" target="_blank">www.mcs.anl.gov</a></div>
<div id="m_2527757693675839277m_-5920937604223386778LPDescription_14847706656890.025719299829345288" style="display:block;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:20px;max-height:100px;overflow:hidden">
Summary of Sparse Linear Solvers Available from PETSc Requests and contributions welcome</div>
</td>
</tr>
</tbody>
</table>
</div>
As we all know the key algorithm inside GMRES solver is Gram-Schmidt process,
<p></p>
<p>so I guess if users specify their matrix A and right-hand-side vector b in a linear equation (Ax=b),</p>
<p>the Gram-Schmidt process will be executed in parallel,</p>
<p><span>including matrix-vector multiplications and orthogonalization between the basis vectors.</span></p>
<p><span>Am I correct?</span></p>
<p><span>Thanks very much.</span></p>
<p><span><br>
</span></p>
<p><span>Best,</span></p>
<p><span>Chih-Hao</span><br>
</p>
<p><br>
</p>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">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></div>