PaStiX crash

Barry Smith bsmith at mcs.anl.gov
Tue Oct 20 12:44:24 CDT 2009


   Run with valgrind (www.valgrind.org). Valgrind is simply the MOST  
important software tool for C/C++ developers available in the past 10+  
years.

   First run the debug version in valgrind, because often there can be  
memory errors that don't crash the program and valgrind will find them.

    Barry

On Oct 20, 2009, at 9:37 AM, Andreas Grassl wrote:

> Hello,
>
> I wanted to use PaStix and have the problem, that the debugging  
> version works
> and PETSc compiled with option --with-debugging=0 gives following  
> error:
>
> what could be wrong?
>
>
> +--------------------------------------------------------------------+
> +              PaStiX : Parallel Sparse matriX package               +
> +--------------------------------------------------------------------+
> Matrix size                                  7166 x 7166
> Number of nonzeros                           177831
> +--------------------------------------------------------------------+
> +  Options                                                           +
> +--------------------------------------------------------------------+
>       Version             :                  exported
>       SMP_SOPALIN         :                  Defined
>       VERSION MPI         :                  Defined
>       PASTIX_BUBBLE       :                  Not defined
>       STATS_SOPALIN       :                  Not defined
>       NAPA_SOPALIN        :                  Defined
>       TEST_IRECV          :                  Not defined
>       TEST_ISEND          :                  Defined
>       THREAD_COMM         :                  Not defined
>       THREAD_FUNNELED     :                  Not defined
>       TAG                 :                  Exact Thread
>       FORCE_CONSO         :                  Not defined
>       RECV_FANIN_OR_BLOCK :                  Not defined
>       OUT_OF_CORE         :                  Not defined
>       DISTRIBUTED         :                  Not defined
>       FLUIDBOX            :                  Not defined
>       METIS               :                  Not defined
>       INTEGER TYPE        :                  int32_t
>       FLOAT TYPE          :                  double
> +--------------------------------------------------------------------+
> Check : ordering                OK
> Check : Sort CSC                OK
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation  
> Violation, probably
> memory access out of range
> [0]PETSC ERROR: Try option -start_in_debugger or - 
> on_error_attach_debugger
> [0]PETSC ERROR: or see
> http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal 
> [0]PETSC
> ERROR: or try http://valgrind.org on linux or man libgmalloc on  
> Apple to find
> memory corruption errors
> [0]PETSC ERROR: configure using --with-debugging=yes, recompile,  
> link, and run
> [0]PETSC ERROR: to get more information on the crash.
> [0]PETSC ERROR: --------------------- Error Message
> ------------------------------------
> [0]PETSC ERROR: Signal received!
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: Petsc Release Version 3.0.0, Patch 8, Fri Aug 21  
> 14:02:12 CDT 2009
> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [0]PETSC ERROR: See docs/index.html for manual pages.
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: ./standalonesolver on a linux32-i named login.leo1  
> by c702174
> Tue Oct 20 11:55:24 2009
> [0]PETSC ERROR: Libraries linked from
> /mnt/x4540/hpc-scratch/c702174/leo1/petsc/petsc-3.0.0-p8/linux32- 
> intel-c-leo1/lib
> [0]PETSC ERROR: Configure run at Tue Oct 20 00:39:27 2009
> [0]PETSC ERROR: Configure options --with-scalar-type=real --with- 
> debugging=0
> --with-precision=double --with-shared=0 --with-mpi=1
> --with-mpi-dir=/usr/site/hpc/x86_64/glibc-2.5/italy/openmpi/1.3.3/ 
> intel-11.0
> --with-scalapack=1 --download-scalapack=ifneeded
> --download-f-blas-lapack=ifneeded --with-blacs=1 --download- 
> blacs=ifneeded
> --with-parmetis=1 --download-parmetis=ifneeded --with-mumps=1
> --download-mumps=ifneeded --with-spooles=1 --download-spooles=ifneeded
> --with-superlu_dist=1 --download-superlu_dist=ifneeded --with-scotch=1
> --download-scotch=ifneeded --with-pastix=1 --download-pastix=ifneeded
> --with-umfpack=1 --download-umfpack=ifneeded PETSC_ARCH=linux32- 
> intel-c-leo1
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: User provided function() line 0 in unknown directory  
> unknown file
>
>
> Cheers,
>
> ando
> -- 
> /"\                               Grassl Andreas
> \ /    ASCII Ribbon Campaign      Uni Innsbruck Institut f. Mathematik
>  X      against HTML email        Technikerstr. 13 Zi 709
> / \                               +43 (0)512 507 6091



More information about the petsc-users mailing list