<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>&nbsp;&nbsp; I have fixed a couple bugs in the PETSc PasTix interface. &nbsp;You will need to get an install petsc-dev&nbsp;<a href="http://www.mcs.anl.gov/petsc/petsc-as/developers/index.html">http://www.mcs.anl.gov/petsc/petsc-as/developers/index.html</a> to use the new code. If there is still a problem then please configure with --with-debugging=1and send all the output when it crashes.&nbsp;<div><br></div><div>&nbsp;&nbsp; Barry</div><div><br><div><div>On Mar 7, 2010, at 10:14 AM, Vasia Kalavri wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">Hello again.<br><br>&gt; From:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a><br>&gt; To:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a><br>&gt; Date: Wed, 3 Mar 2010 08:58:58 -0600<br>&gt; Subject: Re: [petsc-users] MatFactorNumeric_PASTIX error<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; Build PETSc and Pastix with debugging turned on.<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; ./configure --with-debugging=1 --download-pastix and see if it<span class="Apple-converted-space">&nbsp;</span><br>&gt; still crashes. If it does then in the debugger you can get detailed<span class="Apple-converted-space">&nbsp;</span><br>&gt; information about exactly where/why it crashed.<br><br><b>I rebuilt with debugging turned on but unfortunately, it still crashes.<span class="Apple-converted-space">&nbsp;</span><br>Where can I find the debugger detailed info?<br>I added some prints inside MatFactorNumeric_PaStiX() function<span class="Apple-converted-space">&nbsp;</span><br>and found out that the program crashes when calling pastix() function,<br>line 441 in pastix.c</b><br>&nbsp;<br>&gt; Are you changing the nonzero structure of the matrix?<br><br><b>No I am not.<br>In fact, I ran the program without updating the input matrix after the first iteration and it still crashed!</b><br><br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; Barry<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; On Mar 3, 2010, at 1:14 AM, Vasia Kalavri wrote:<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; Hello.<br>&gt; &gt; I use MatGetFactor(), MatCholeskyFactorSymbolic() and<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; MatCholeskyFactorNumeric() with Pastix solver in an iterative loop<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; in order to solve a system.<br>&gt; &gt; The program behaves as desired when using a matrix of size 118x118<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; and solves the system after 7 iterations.<br>&gt; &gt; When using a matrix of size 1000x1000, the program crashes at the<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; 2nd iteration just after calling MatCholeskyFactorNumeric().<br>&gt; &gt; The message I get is:<br>&gt; &gt;<br>&gt; &gt; [0]PETSC ERROR: [0] MatFactorNumeric_PASTIX line 347 src/mat/impls/<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; aij/mpi/pastix/pastix.c<br>&gt; &gt; [0]PETSC ERROR: [0] MatCholeskyFactorNumeric line 2517 src/mat/<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; interface/matrix.c<br>&gt; &gt; [0]PETSC ERROR: --------------------- Error Message<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; ------------------------------------<br>&gt; &gt; [0]PETSC ERROR: Signal received!<br>&gt; &gt;<br>&gt; &gt; Option -start_in_debugger gives me the following output:<br>&gt; &gt;<br>&gt; &gt; [1]PETSC ERROR: MPI error 15<br>&gt; &gt; [vasia-desktop:15869] *** Process received signal ***<br>&gt; &gt; [vasia-desktop:15869] Signal: Aborted (6)<br>&gt; &gt; [vasia-desktop:15869] Signal code: (-6)<br>&gt; &gt; [vasia-desktop:15869] [ 0] [0xb7eeb440]<br>&gt; &gt; [vasia-desktop:15869] [ 1] /lib/tls/i686/cmov/libc.so.6(abort+0x101)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0xb7b4ea01]<br>&gt; &gt; [vasia-desktop:15869] [ 2] ./ex1(Petsc_MPI_DebuggerOnError+0)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0x843d50e]<br>&gt; &gt; [vasia-desktop:15869] [ 3] /usr/lib/libmpi.so.<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; 0(ompi_errhandler_invoke+0x113) [0xb7e773e3]<br>&gt; &gt; [vasia-desktop:15869] [ 4] /usr/lib/libmpi.so.0(MPI_Recv+0x1b5)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0xb7eac125]<br>&gt; &gt; [vasia-desktop:15869] [ 5] ./ex1(Dreceive_one_fanin+0x8e) [0x849aa05]<br>&gt; &gt; [vasia-desktop:15869] [ 6] ./ex1(Dwait_contrib_comp_1d+0x43)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0x84a69f9]<br>&gt; &gt; [vasia-desktop:15869] [ 7] ./ex1(Dsopalin_smp+0x2be) [0x84a6d6f]<br>&gt; &gt; [vasia-desktop:15869] [ 8] /lib/tls/i686/cmov/libpthread.so.0<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0xb7d6d4fb]<br>&gt; &gt; [vasia-desktop:15869] [ 9] /lib/tls/i686/cmov/libc.so.6(clone+0x5e)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0xb7bf8e5e]<br>&gt; &gt; [vasia-desktop:15869] *** End of error message ***<br>&gt; &gt; .<br>&gt; &gt; .<br>&gt; &gt; .<br>&gt; &gt; [vasia-desktop:15868] *** Process received signal ***<br>&gt; &gt; [vasia-desktop:15868] Signal: Aborted (6)<br>&gt; &gt; [vasia-desktop:15868] Signal code: (-6)<br>&gt; &gt; [vasia-desktop:15868] [ 0] [0xb7fdd440]<br>&gt; &gt; [vasia-desktop:15868] [ 1] /lib/tls/i686/cmov/libc.so.6(abort+0x101)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0xb7c40a01]<br>&gt; &gt; [vasia-desktop:15868] [ 2] ./ex1 [0x848d825]<br>&gt; &gt; [vasia-desktop:15868] [ 3] ./ex1(PetscError+0x317) [0x840d5c9]<br>&gt; &gt; [vasia-desktop:15868] [ 4] ./ex1(PetscDefaultSignalHandler+0x3b4)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0x848e32f]<br>&gt; &gt; [vasia-desktop:15868] [ 5] ./ex1 [0x848df5b]<br>&gt; &gt; [vasia-desktop:15868] [ 6] [0xb7fdd420]<br>&gt; &gt; [vasia-desktop:15868] [ 7] ./ex1(sopalin_launch_thread+0x560)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0x84c8c70]<br>&gt; &gt; [vasia-desktop:15868] [ 8] ./ex1(Dsopalin_thread+0x168) [0x84a745e]<br>&gt; &gt; [vasia-desktop:15868] [ 9] ./ex1(pastix_task_sopalin+0x52b)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0x8497f1b]<br>&gt; &gt; [vasia-desktop:15868] [10] ./ex1(pastix+0x261) [0x8499804]<br>&gt; &gt; [vasia-desktop:15868] [11] ./ex1(MatFactorNumeric_PaStiX+0xff6)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0x817777c]<br>&gt; &gt; [vasia-desktop:15868] [12] ./ex1(MatCholeskyFactorNumeric+0x760)<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; [0x80957d4]<br>&gt; &gt; [vasia-desktop:15868] [13] ./ex1(main+0x3a01) [0x807e5f9]<br>&gt; &gt; [vasia-desktop:15868] [14] /lib/tls/i686/cmov/libc.so.<span class="Apple-converted-space">&nbsp;</span><br>&gt; &gt; 6(__libc_start_main+0xe0) [0xb7c2a450]<br>&gt; &gt; [vasia-desktop:15868] [15] ./ex1 [0x8077291]<br>&gt; &gt; [vasia-desktop:15868] *** End of error message ***<br>&gt; &gt;<br>&gt; &gt; Any suggestions?<br>&gt; &gt;<br>&gt; &gt; Thanks,<br>&gt; &gt; Vasia.<br>&gt; &gt; Hotmail: Powerful Free email with security by Microsoft. Get it now.<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>Vasia.<br><br><hr>Hotmail: Trusted email with Microsoft’s powerful SPAM protection.<span class="Apple-converted-space">&nbsp;</span><a href="https://signup.live.com/signup.aspx?id=60969" target="_new">Sign up now.</a></div></span></blockquote></div><br></div></body></html>