<div dir="ltr">Debao,<div><br></div><div>What is the complete traceback for this problem?  </div><div><br></div><div>A<br><br><div class="gmail_quote">On Tue, Aug 9, 2011 at 11:12 AM, Debao Shao <span dir="ltr">&lt;<a href="mailto:Debao.Shao@brion.com">Debao.Shao@brion.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div lang="ZH-CN" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="IT" style="font-size:9.0pt;font-family:Arial;color:navy">DA,
<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="IT" style="font-size:9.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy">Do you happen to know what may cause this error?<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy">         “[0]PETSC ERROR: PetscFinalize() line 968 in src/sys/objects/pinit.c”<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy">After reporting this error, the job can run continued, but it will aborted when encountering next petsc related features even
 with calling PetscInitialize() again, and say:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy">         “Options have not been enabled.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy">         You might have forgotten to call PetscInitialize().”<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy">Here is line 968:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="EN-US" style="font-size:9.0pt;font-family:Arial;color:navy">        
</span></font><font size="1" color="blue" face="Arial"><span lang="IT" style="font-size:9.0pt;font-family:Arial;color:blue">ierr = MPI_Finalize();CHKERRQ(ierr);<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="IT" style="font-size:9.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="IT" style="font-size:9.0pt;font-family:Arial;color:navy">Thanks,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="1" color="navy" face="Arial"><span lang="IT" style="font-size:9.0pt;font-family:Arial;color:navy">Debao<u></u><u></u></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>
</div>

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