I suspect that<div><br></div><div> a) Not all arguments are correct, Fortran does not checking</div><div><br></div><div> b) Some object was not created</div><div><br></div><div>Use the debugger, -start_in_debugger, to investigate the SEGV</div>
<div><br></div><div> Matt<br><br><div class="gmail_quote">On Fri, Jun 18, 2010 at 12:23 AM, Valerio Grazioso <span dir="ltr"><<a href="mailto:graziosov@me.queensu.ca">graziosov@me.queensu.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">You are right, that was a leftover of a previous test made with a viewer. <div>Commenting that line I get the previous result </div>
<div><br></div><div>SEGV: Segmentation Violation </div><div><br></div><div>Sorry for the previous mistake... </div><div>Thanks</div><div>Valerio</div><div><div></div><div class="h5"><div><br><div><div>On 2010-06-18, at 1:01 AM, Matthew Knepley wrote:</div>
<br><blockquote type="cite">This is obviously not the whole code because you are calling PetscViewerDestroy()<div>somewhere with a bad viewer. Please check the return codes of all PETSc calls.</div><div><br></div><div> THanks,</div>
<div><br></div><div>
Matt<br><br><div class="gmail_quote">On Thu, Jun 17, 2010 at 11:43 PM, Valerio Grazioso <span dir="ltr"><<a href="mailto:graziosov@me.queensu.ca" target="_blank">graziosov@me.queensu.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Ok... but adding it I get in the same position a different error:<div><br></div><div><div><div>[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div>
</div><div>[1]PETSC ERROR: [0]PETSC ERROR: Invalid argument!</div><div>[0]PETSC ERROR: Wrong type of object: Parameter # 1!</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div>
<div><div>[0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 3, Fri Jun 4 15:34:52 CDT 2010</div></div><div>[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[1]PETSC ERROR: See docs/changes/index.html for recent updates.</div>
<div><div>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[0]PETSC ERROR: See docs/index.html for manual pages.</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div>
</div><div>[0]PETSC ERROR: ./PetscTest on a linux-gnu named up0001 by hpc2231 Fri Jun 18 00:34:57 2010</div><div><div>[0]PETSC ERROR: Libraries linked from /home/hpc2231/lib/petsc-3.1-p3/linux-gnu-c-debug/lib</div>
</div><div>Invalid argument!</div><div>[1]PETSC ERROR: Wrong type of object: Parameter # 1!</div><div>[1]PETSC ERROR: ------------------------------------------------------------------------</div><div><div>[1]PETSC ERROR: Petsc Release Version 3.1.0, Patch 3, Fri Jun 4 15:34:52 CDT 2010</div>
<div>[1]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[1]PETSC ERROR: See docs/index.html for manual pages.</div><div>
[1]PETSC ERROR: ------------------------------------------------------------------------</div></div><div>[1]PETSC ERROR: ./PetscTest on a linux-gnu named up0001 by hpc2231 Fri Jun 18 00:34:57 2010</div><div><div>
[1]PETSC ERROR: Libraries linked from /home/hpc2231/lib/petsc-3.1-p3/linux-gnu-c-debug/lib</div><div>[1]PETSC ERROR: Configure run at Thu Jun 17 23:00:54 2010</div><div>[1]PETSC ERROR: Configure options LIBS="-limf -lm" --download-hypre=1 --with-fortran-interfaces=1</div>
<div>[1]PETSC ERROR: ------------------------------------------------------------------------</div></div><div>[1]PETSC ERROR: PetscViewerDestroy() line 99 in src/sys/viewer/interface/view.c</div><div><div>[0]PETSC ERROR: Configure run at Thu Jun 17 23:00:54 2010</div>
<div>[0]PETSC ERROR: Configure options LIBS="-limf -lm" --download-hypre=1 --with-fortran-interfaces=1</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div></div>
<div>[0]PETSC ERROR: PetscViewerDestroy() line 99 in src/sys/viewer/interface/view.c</div></div><div><br></div><font color="#888888"><div><br></div><div>Valerio</div></font><div><div></div><div><div><br></div><div>
<br><div><div>On 2010-06-18, at 12:30 AM, Matthew Knepley wrote:</div><br><blockquote type="cite">The VecView() has no 'err' argument.<div><br></div><div> Matt<br><br><div class="gmail_quote">On Thu, Jun 17, 2010 at 11:19 PM, Valerio Grazioso <span dir="ltr"><<a href="mailto:graziosov@me.queensu.ca" target="_blank">graziosov@me.queensu.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">
Hi, I'm stuck with an implementation of a 3D Poisson solver with PETSc in fortran90.<div>
I was getting strange Segmentation Violation and after some debugging I realized that the the problem was in the vector created with </div><div><br></div><div>DACreateGlobalVector() </div><div><br></div><div>So I've written a simple code:</div>
<div><br></div><div><span style="font-family:Menlo;font-size:14px">****************************************************************************</span></div><div><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
program PetscTest</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">implicit none</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Vec q</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">
PetscScalar alpha</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">DA da</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">PetscErrorCode err</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">
PetscInt i3,i1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">i3=4</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
i1=1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">call DACreate3d(PETSC_COMM_WORLD,DA_NONPERIODIC,DA_STENCIL_STAR,i3,i3,i3,PETSC_DECIDE,PETSC_DECIDE,PETSC_DECIDE,i1,i1, & </div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"> PETSC_NULL_INTEGER,PETSC_NULL_INTEGER,PETSC_NULL_INTEGER,da,err)</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">call DACreateGlobalVector(da,q,err)</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">alpha=1.0</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
call VecSet(q,alpha,err)</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">call vecView(q,PETSC_VIEWER_STDOUT_WORLD)</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">call VecDestroy(q,err);</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px">
call PetscFinalize(PETSC_NULL_CHARACTER,err)</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:16px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
end program </div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">****************************************************************************</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:Helvetica;font-size:medium"> And this is the output that i get if I run the executable with </span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:Helvetica;font-size:medium"><br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:Helvetica;font-size:medium">mpirun -n 2 ./PetscTest -da_view</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:Helvetica;font-size:medium"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:Helvetica;font-size:medium"><span style="font-family:Menlo;font-size:14px">****************************************************************************</span></span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Processor [0] M 4 N 4 P 4 m 1 n 1 p 2 w 1 s 1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">X range of indices: 0 4, Y range of indices: 0 4, Z range of indices: 0 2</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Processor [1] M 4 N 4 P 4 m 1 n 1 p 2 w 1 s 1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">X range of indices: 0 4, Y range of indices: 0 4, Z range of indices: 2 4</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Process [0]</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Process [1]</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: ------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[1]PETSC" target="_blank">http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[1]PETSC</a> ERROR: or try <a href="http://valgrind.org/" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: likely location of problem given in stack below</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: --------------------- Stack Frames ------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: [0]PETSC ERROR: ------------------------------------------------------------------------</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Note: The EXACT line numbers in the stack are not available,</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: INSTEAD the line number of the start of the function</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: is given.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: Signal received!</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: ------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: Petsc Release Version 3.1.0, Patch 3, Fri Jun 4 15:34:52 CDT 2010</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: See docs/index.html for manual pages.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: ------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: ./PetscTest on a linux-gnu named up0001 by hpc2231 Thu Jun 17 23:58:50 2010</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: Libraries linked from /home/hpc2231/lib/petsc-3.1-p3/linux-gnu-c-debug/lib</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: Configure run at Thu Jun 17 23:00:54 2010</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: Configure options LIBS="-limf -lm" --download-hypre=1 --with-fortran-interfaces=1</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[1]PETSC ERROR: ------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[1]PETSC ERROR: User provided function() line 0 in unknown directory unknown file</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC" target="_blank">http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC</a> ERROR: or try <a href="http://valgrind.org/" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: --------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD </div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">with errorcode 59.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
You may or may not see output from other processes, depending on</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">exactly when Open MPI kills them.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
--------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">likely location of problem given in stack below</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[0]PETSC ERROR: --------------------- Stack Frames ------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: INSTEAD the line number of the start of the function</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[0]PETSC ERROR: is given.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[0]PETSC ERROR: Signal received!</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: ------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 3, Fri Jun 4 15:34:52 CDT 2010</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: See docs/changes/index.html for recent updates.</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[0]PETSC ERROR: See docs/index.html for manual pages.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: ------------------------------------------------------------------------</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: ./PetscTest on a linux-gnu named up0001 by hpc2231 Thu Jun 17 23:58:50 2010</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[0]PETSC ERROR: Libraries linked from /home/hpc2231/lib/petsc-3.1-p3/linux-gnu-c-debug/lib</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: Configure run at Thu Jun 17 23:00:54 2010</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: Configure options LIBS="-limf -lm" --download-hypre=1 --with-fortran-interfaces=1</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
[0]PETSC ERROR: ------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">--------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
mpirun has exited due to process rank 1 with PID 10883 on</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">node up0001 exiting without calling "finalize". This may</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
have caused other processes in the application to be</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">terminated by signals sent by mpirun (as reported here).</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
--------------------------------------------------------------------------</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[up0001:10881] 1 more process has sent help message help-mpi-api.txt / mpi-abort</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">[up0001:10881] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">****************************************************************************</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:Helvetica;font-size:medium"><span style="font-family:Helvetica;font-size:medium">If been looking trough the troubleshooting and FAQ with no success and now I'm stuck ....</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:Helvetica;font-size:medium"><span style="font-family:Helvetica;font-size:medium"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:Helvetica;font-size:medium">
<span style="font-family:Helvetica;font-size:medium">Any ideas or suggestions </span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:Helvetica;font-size:medium"><span style="font-family:Helvetica;font-size:medium"><br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:Helvetica;font-size:medium"><span style="font-family:Helvetica;font-size:medium">Thanks</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:Helvetica;font-size:medium">
<span style="font-family:Helvetica;font-size:medium"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:Helvetica;font-size:medium"><span style="font-family:Helvetica;font-size:medium">Valerio </span></div>
<div><span style="font-family:Helvetica;font-size:medium"><br></span></div></div><div><br></div><div><br></div></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></div><div> </div></div></blockquote></div><br><br clear="all"><br>-- <br>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<br>
</div>
</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>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<br>
</div>
</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>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<br>
</div>