<div dir="ltr"><div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 6, 2018 at 2:55 AM Matthew Knepley via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Satish,<div><br></div><div>This is exactly the same method (<span style="font-family:Verdana;font-size:12px">pzgssvx) that had a problem before. Do you remember what happened?</span></div></div></blockquote><div><br></div><div>Used to have a bug in the row permutation algorithm. The row permutation is not get populated correctly. It was fixed from PETSc-3.8.x.   If the current issue is the same as before, a simple "fix" is to use </div><div><br></div><div>" -mat_superlu_dist_fact SamePattern_SameRowPerm". </div><div><br></div><div>Fande,</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:Verdana;font-size:12px"><br></span></div><div><span style="font-family:Verdana;font-size:12px">  Thanks,</span></div><div><span style="font-family:Verdana;font-size:12px"><br></span></div><div><span style="font-family:Verdana;font-size:12px">     Matt</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 5, 2018 at 8:38 PM Smith, Barry F. via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
   I would start with valgrind see if it finds anything. If not and if you can provide the code that reproduces the problem we can take a look at it.<br>
<br>
    Barry<br>
<br>
<a href="https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind" rel="noreferrer" target="_blank">https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a><br>
<br>
<br>
<br>
> On Dec 5, 2018, at 7:16 PM, Marius Buerkle via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br>
> <br>
> Hi,<br>
>  <br>
> I get the following error duing MatMatSolve. It works for smaller number of processes but if I  increade the number pf processes used it crashes.<br>
>  <br>
> [25]PETSC ERROR: ------------------------------------------------------------------------<br>
> [25]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range<br>
> [25]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger<br>
> [25]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a><br>
> [25]PETSC ERROR: or try <a href="http://valgrind.org" rel="noreferrer" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors<br>
> [25]PETSC ERROR: likely location of problem given in stack below<br>
> [25]PETSC ERROR: ---------------------  Stack Frames ------------------------------------<br>
> [25]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,<br>
> [25]PETSC ERROR:       INSTEAD the line number of the start of the function<br>
> [25]PETSC ERROR:       is given.<br>
> [25]PETSC ERROR: [25] SuperLU_DIST:pzgssvx line 236 /home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/src/mat/impls/aij/mpi/superlu_dist/superlu_dist.c<br>
> [25]PETSC ERROR: [25] MatMatSolve_SuperLU_DIST line 200 /home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/src/mat/impls/aij/mpi/superlu_dist/superlu_dist.c<br>
> [25]PETSC ERROR: [25] MatMatSolve line 3396 /home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/src/mat/interface/matrix.c<br>
> [25]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>
> [25]PETSC ERROR: Signal received<br>
> [25]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>
> [25]PETSC ERROR: Petsc Development GIT revision: v3.10.2-723-g2a65a22  GIT Date: 2018-11-25 07:45:29 +0100<br>
> [25]PETSC ERROR: /home/cdfmat_marius/prog/transomat_latest_test4/transomat on a  named a003 by cdfmat_marius Thu Dec  6 10:12:23 2018<br>
> [25]PETSC ERROR: Configure options --prefix=/home/cdfmat_marius/prog/petsc/master_gcc_local_debug --with-64-bit-indices=0 --CC=mpicc --COPTFLAGS="-O0 -mtune=generic -g -std=c11 " --CXX=mpicxx --CXXOPTFLAGS="-O0 -mtune=generic -g -std=c++11 " --FC=mpif90 --FOPTFLAGS="-O0 -mtune=generic -g -fbacktrace -g " --with-mpi=1 --with-x=0 --download-parmetis=/home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/externalpackages/git.parmetis.tar.gz --download-metis=/home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/externalpackages/git.metis.tar.gz --with-blaslapack-lib=" -L/home/cdfmat_marius/intel/compilers_and_libraries_2019.1.144/linux/mkl/lib/intel64 -Wl,--no-as-needed -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_openmpi_lp64 -lpthread -lm -ldl " --with-scalapack-lib=" -L/home/cdfmat_marius/intel/compilers_and_libraries_2019.1.144/linux/mkl/lib/intel64 -Wl,--no-as-needed -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_openmpi_lp64 -lpthread -lm -ldl " --download-pastix=no --download-superlu_dist=/home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/externalpackages/git.superlu_dist.tar.gz --download-superlu_dist-commit=HEAD --download-hwloc=/home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/externalpackages/hwloc-1.11.1.tar.gz --download-sowing=/home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/externalpackages/git.sowing.tar.gz --with-mkl_pardiso-dir=/home/cdfmat_marius/intel/compilers_and_libraries_2019.1.144/linux/mkl --with-openmp=0 --with-pthread=0 --download-elemental=/home/cdfmat_marius/prog/petsc/master_build_gcc_local/petsc/externalpackages/git.elemental.tar.gz --download-elemental-commit=HEAD --with-mkl_cpardiso-dir=/home/cdfmat_marius/intel/compilers_and_libraries_2019.1.144/linux/mkl --with-mkl_sparse_optimize-dir=/home/cdfmat_marius/intel/compilers_and_libraries_2019.1.144/linux/mkl --with-mkl_sparse_sp2m-dir=/home/cdfmat_marius/intel/compilers_and_libraries_2019.1.144/linux/mkl --with-cxx-dialect=c++11 --with-scalar-type=complex --with-debugging=1<br>
>  <br>
> bestm<br>
> marius<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-3617219364493079408gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>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</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div>
</blockquote></div></div></div></div>