<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 10.00.9200.16686"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; MARGIN: 10px">
<DIV><FONT size=2 face=Verdana>Hi, I am trying to run the
example ex52 in src/ksp/ksp/examples/tutorials with following
command:</FONT></DIV>
<DIV> make runex52_superlu
</DIV>
<DIV><FONT size=2 face=Verdana> but this generated the
following error messages:</FONT></DIV>
<DIV> </DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>1c1,38</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>< Norm of error < 1.e-12 iterations 1</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>---</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR:
------------------------------------------------------------------------</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation
Violation, probably memory access out of range</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: Try option -start_in_debugger or
-on_error_attach_debugger</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: or see
http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC ERROR: or
try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory
corruption errors</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: likely location of problem given in stack
below</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: ---------------------<SPAN
style="mso-spacerun: yes"> </SPAN>Stack Frames
------------------------------------</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: Note: The EXACT line numbers in the stack are
not available,</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR:<SPAN
style="mso-spacerun: yes"> </SPAN>INSTEAD
the line number of the start of the function</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR:<SPAN
style="mso-spacerun: yes"> </SPAN>is
given.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: [0] SuperLU:StatInit line 616
/home/lff/petsc-3.4.2/src/mat/impls/aij/seq/superlu/superlu.c</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: [0] MatGetFactor_seqaij_superlu line 580
/home/lff/petsc-3.4.2/src/mat/impls/aij/seq/superlu/superlu.c</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: [0] MatGetFactor line 3949
/home/lff/petsc-3.4.2/src/mat/interface/matrix.c</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: [0] PCFactorSetUpMatSolverPackage_Factor line
14 /home/lff/petsc-3.4.2/src/ksp/pc/impls/factor/factimpl.c</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: [0] PCFactorSetUpMatSolverPackage line 24
/home/lff/petsc-3.4.2/src/ksp/pc/impls/factor/factor.c</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: --------------------- Error Message
------------------------------------</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: Signal received!</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR:
------------------------------------------------------------------------</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: Petsc Release Version 3.4.2, Jul, 02,
2013</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: See docs/changes/index.html for recent
updates.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: See docs/faq.html for hints about trouble
shooting.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: See docs/index.html for manual
pages.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR:
------------------------------------------------------------------------</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: ./ex52 on a arch-linux2-c-debug named RDCPS by
lff Fri Sep 13 17:12:46 2013</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: Libraries linked from
/home/lff/petsc-3.4.2/arch-linux2-c-debug/lib</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: Configure run at Thu Sep 12 11:08:01
2013</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: Configure options --with-cc=gcc --CFLAGS=-O3
--download-mpich --with-blas-lapack-dir=/home/lff/OpenBLAS-0.2.7/
--download-superlu=yes</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR:
------------------------------------------------------------------------</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [0]PETSC ERROR: User provided function() line 0 in unknown
directory unknown file</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process
0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> [cli_0]: aborting job:</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process
0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT face=Calibri>><?xml:namespace prefix = "o" ns =
"urn:schemas-microsoft-com:office:office"
/><o:p> </o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>>
===================================================================================</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> =<SPAN style="mso-spacerun: yes"> </SPAN>BAD
TERMINATION OF ONE OF YOUR APPLICATION PROCESSES</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> =<SPAN style="mso-spacerun: yes"> </SPAN>EXIT
CODE: 59</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> =<SPAN style="mso-spacerun: yes"> </SPAN>CLEANING
UP REMAINING PROCESSES</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>> =<SPAN style="mso-spacerun: yes"> </SPAN>YOU CAN
IGNORE THE BELOW CLEANUP MESSAGES</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>>
===================================================================================</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>/home/lff/petsc-3.4.2/src/ksp/ksp/examples/tutorials</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>Possible problem with with ex52, diffs above</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>I have rebuilt petsc with superlu, does this require changing the
code in ex52.c or superlu.c ,or is there something else that I am doing
wrong?</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri>Thanks a lot.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT size=3
face=Calibri></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US></SPAN><FONT
color=#c0c0c0 size=2 face=Verdana></FONT> </P></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2013-09-13
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>
<DIV>
<DIV><FONT size=2 face=Verdana></FONT>fangfang</DIV>
<DIV>research assistant</DIV>
<DIV>Institute of Software China Acedemy of Sciences </DIV>
<DIV>fax:010-61661632</DIV></DIV></SPAN></FONT></DIV></FONT></BODY></HTML>