<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" 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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>I am new to PETSc.&nbsp; What MPI and What compiler ?&nbsp; If it is Intel
compiler, add &#8211;mcmodel=medium to the compile line and see that helps.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Logan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> petsc-users-bounces@mcs.anl.gov
[mailto:petsc-users-bounces@mcs.anl.gov] <b>On Behalf Of </b>Valerio Grazioso<br>
<b>Sent:</b> Thursday, June 17, 2010 11:20 PM<br>
<b>To:</b> petsc-users@mcs.anl.gov<br>
<b>Subject:</b> [petsc-users] Segmentation Violation in a very simple fortran
code<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hi, I'm stuck with an implementation of a 3D Poisson solver
with PETSc in fortran90.<o:p></o:p></p>

<div>

<p class=MsoNormal>I was getting strange Segmentation Violation and after some
debugging I realized that the the problem was in the vector created with&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>DACreateGlobalVector()&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>So I've written a simple code:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:10.5pt;
font-family:"Menlo","serif"'>****************************************************************************</span></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>program
PetscTest<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>implicit
none<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>Vec
q<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>PetscScalar
alpha<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>DA
da<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>PetscErrorCode
err<o:p></o:p></span></p>

</div>

<p style='margin:0in;margin-bottom:.0001pt;min-height: 16px'><span
style='font-size:10.5pt;font-family:"Menlo","serif"'>PetscInt &nbsp; &nbsp;
i3,i1<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>i3=4<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>i1=1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>call
DACreate3d(PETSC_COMM_WORLD,DA_NONPERIODIC,DA_STENCIL_STAR,i3,i3,i3,PETSC_DECIDE,PETSC_DECIDE,PETSC_DECIDE,i1,i1,
&amp;&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
PETSC_NULL_INTEGER,PETSC_NULL_INTEGER,PETSC_NULL_INTEGER,da,err)<o:p></o:p></span></p>

</div>

<p style='margin:0in;margin-bottom:.0001pt;min-height: 16px'><span
style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

<p style='margin:0in;margin-bottom:.0001pt;min-height: 16px'><span
style='font-size:10.5pt;font-family:"Menlo","serif"'>call
DACreateGlobalVector(da,q,err)<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>alpha=1.0<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>call
VecSet(q,alpha,err)<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>call
vecView(q,PETSC_VIEWER_STDOUT_WORLD)<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>call
VecDestroy(q,err);<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>call
PetscFinalize(PETSC_NULL_CHARACTER,err)<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>end
program&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>****************************************************************************<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Helvetica","sans-serif"'>&nbsp;And this is the output that i get
if I run the executable with&nbsp;</span></span><span style='font-size:10.5pt;
font-family:"Menlo","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Helvetica","sans-serif"'>mpirun -n 2 ./PetscTest -da_view</span></span><span
style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:10.5pt;
font-family:"Menlo","serif"'>****************************************************************************</span></span><span
style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>Processor
[0] M 4 N 4 P 4 m 1 n 1 p 2 w 1 s 1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>X
range of indices: 0 4, Y range of indices: 0 4, Z range of indices: 0 2<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>Processor
[1] M 4 N 4 P 4 m 1 n 1 p 2 w 1 s 1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>X
range of indices: 0 4, Y range of indices: 0 4, Z range of indices: 2 4<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>Process
[0]<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>Process
[1]<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: ------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory
access out of range<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: Try option -start_in_debugger or -on_error_attach_debugger<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: or see <a
href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[1]PETSC">http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[1]PETSC</a>
ERROR: or try <a href="http://valgrind.org">http://valgrind.org</a> on
GNU/linux and Apple Mac OS X to find memory corruption errors<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: likely location of problem given in stack below<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: --------------------- &nbsp;Stack Frames
------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: [0]PETSC ERROR: ------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>Note:
The EXACT line numbers in the stack are not available,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: &nbsp; &nbsp; &nbsp; INSTEAD the line number of the start of the
function<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: &nbsp; &nbsp; &nbsp; is given.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: --------------------- Error Message ------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: Signal received!<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: ------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: Petsc Release Version 3.1.0, Patch 3, Fri Jun &nbsp;4 15:34:52 CDT 2010<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: See docs/changes/index.html for recent updates.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: See docs/faq.html for hints about trouble shooting.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: See docs/index.html for manual pages.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: ------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: ./PetscTest on a linux-gnu named up0001 by hpc2231 Thu Jun 17 23:58:50
2010<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: Libraries linked from
/home/hpc2231/lib/petsc-3.1-p3/linux-gnu-c-debug/lib<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: Configure run at Thu Jun 17 23:00:54 2010<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: Configure options LIBS=&quot;-limf -lm&quot; --download-hypre=1
--with-fortran-interfaces=1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: ------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[1]PETSC
ERROR: User provided function() line 0 in unknown directory unknown file<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory
access out of range<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: Try option -start_in_debugger or -on_error_attach_debugger<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: or see <a
href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC">http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC</a>
ERROR: or try <a href="http://valgrind.org">http://valgrind.org</a> on
GNU/linux and Apple Mac OS X to find memory corruption errors<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR:
--------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>MPI_ABORT
was invoked on rank 1 in communicator MPI_COMM_WORLD&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>with
errorcode 59.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>NOTE:
invoking MPI_ABORT causes Open MPI to kill all MPI processes.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>You
may or may not see output from other processes, depending on<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>exactly
when Open MPI kills them.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>--------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>likely
location of problem given in stack below<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: --------------------- &nbsp;Stack Frames
------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: Note: The EXACT line numbers in the stack are not available,<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: &nbsp; &nbsp; &nbsp; INSTEAD the line number of the start of the
function<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: &nbsp; &nbsp; &nbsp; is given.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: --------------------- Error Message ------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: Signal received!<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: ------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: Petsc Release Version 3.1.0, Patch 3, Fri Jun &nbsp;4 15:34:52 CDT 2010<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: See docs/changes/index.html for recent updates.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: See docs/faq.html for hints about trouble shooting.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: See docs/index.html for manual pages.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: ------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: ./PetscTest on a linux-gnu named up0001 by hpc2231 Thu Jun 17 23:58:50
2010<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: Libraries linked from /home/hpc2231/lib/petsc-3.1-p3/linux-gnu-c-debug/lib<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: Configure run at Thu Jun 17 23:00:54 2010<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: Configure options LIBS=&quot;-limf -lm&quot; --download-hypre=1
--with-fortran-interfaces=1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: ------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[0]PETSC
ERROR: User provided function() line 0 in unknown directory unknown file<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>--------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>mpirun
has exited due to process rank 1 with PID 10883 on<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>node
up0001 exiting without calling &quot;finalize&quot;. This may<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>have
caused other processes in the application to be<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>terminated
by signals sent by mpirun (as reported here).<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>--------------------------------------------------------------------------<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[up0001:10881]
1 more process has sent help message help-mpi-api.txt / mpi-abort<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>[up0001:10881]
Set MCA parameter &quot;orte_base_help_aggregate&quot; to 0 to see all help /
error messages<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'>****************************************************************************<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Helvetica","sans-serif"'>If been looking trough the troubleshooting
and FAQ with no success and now I'm stuck ....</span></span><span
style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Helvetica","sans-serif"'>Any ideas or suggestions&nbsp;</span></span><span
style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Helvetica","sans-serif"'>Thanks</span></span><span
style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Helvetica","sans-serif"'>Valerio&nbsp;</span></span><span
style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

</div>

</body>

</html>