<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
/* Page Definitions */
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang="ZH-CN" link="blue" vlink="purple" style="text-justify-trim:punctuation">
<div class="Section1" style="layout-grid:15.6pt">
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial">Dear Petsc:
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial">I’m trying on Petsc iterative solver(KSPCG & PCJACOBI), but it’s strange that the two functions “MatCopy” and “MatSetValue” consume most of runtime,
and the functions were not called frequently, just several times. <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial">My libpetsc.a is built as follows:
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial">1, /config/configure.py --with-mpi=0 --with-debugging=0 -with-log=0 -with-info=0<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial">2, make all;<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial">It’s very appreciated to get your reply.
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial">Thanks a lot,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-US" style="font-size:
9.0pt;font-family:Arial">Debao<o:p></o:p></span></font></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution
is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on
this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and
complete transmission of the information contained in this communication, nor for any delay in its receipt.<br>
</font>
</body>
</html>