Perhaps you can try running in valgrind to see here the problem is. You can also try --with-debugging=0 COPTFLAGS='-g -O' - and see if it crashes. If so - run in a debugger to determine the problem.
Satish On Tue, 20 Oct 2009, 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 >
