Hi,<br><br>I face a problem on the LU factorization. When I use the PETSC's default LU factorization, my code does not converge for KSP. When I use superlu with command line "-sub_pc_factor_mat_solver_package superlu", it said <br>
"[43]PETSC ERROR: ------------------------------------------------------------------------<br>[43]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range<br>[43]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger<br>
[43]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[43]PETSC">http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[43]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<br>
[43]PETSC ERROR: likely location of problem given in stack below<br>[43]PETSC ERROR: --------------------- Stack Frames ------------------------------------<br>[43]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,<br>
[43]PETSC ERROR: INSTEAD the line number of the start of the function<br>[43]PETSC ERROR: is given.<br>[43]PETSC ERROR: [43] MatLUFactorNumeric_SuperLU line 121 src/mat/impls/aij/seq/superlu/superlu.c<br>[43]PETSC ERROR: [43] MatLUFactorNumeric line 2575 src/mat/interface/matrix.c<br>
............................<br> "<br>When I use superlu_dist, my code converges well, but I found that the compute time is very high. What's maybe the problem? Thanks.<br><br>Regards,<br><br>Rongliang<br>