[petsc-users] pc_gamg_type geo broken in 3.3?

Mark F. Adams mark.adams at columbia.edu
Wed Jul 25 08:56:32 CDT 2012


Humm, I did check petsc-3.3 before it was released and petsc-dev works.

Could you attache the debugger and get a line number?

Mark

On Jul 24, 2012, at 10:59 PM, Blaise Bourdin wrote:

> Hi,
> 
> is pc_gamg_type geo broken in petsc-3.3? I get the following when I make runex54 in  src/ksp/ksp/examples/tutorials:
> 
> iMac:tutorials blaise$ make runex54
> 1,28c1,128
> <   0 KSP Residual norm 132.598 
> <   1 KSP Residual norm 39.159 
> <   2 KSP Residual norm 15.7856 
> <   3 KSP Residual norm 8.91321 
> <   4 KSP Residual norm 6.95961 
> <   5 KSP Residual norm 15.1387 
> <   6 KSP Residual norm 12.5547 
> <   7 KSP Residual norm 3.78056 
> <   8 KSP Residual norm 2.38412 
> <   9 KSP Residual norm 3.91952 
> <  10 KSP Residual norm 1.3192 
> <  11 KSP Residual norm 1.70681 
> <  12 KSP Residual norm 1.74052 
> <  13 KSP Residual norm 0.482779 
> <  14 KSP Residual norm 0.634571 
> <  15 KSP Residual norm 0.264686 
> <  16 KSP Residual norm 0.240607 
> <  17 KSP Residual norm 0.10998 
> <  18 KSP Residual norm 0.0853072 
> <  19 KSP Residual norm 0.0551939 
> <  20 KSP Residual norm 0.0231032 
> <  21 KSP Residual norm 0.0286234 
> <  22 KSP Residual norm 0.0110345 
> <  23 KSP Residual norm 0.00582651 
> <  24 KSP Residual norm 0.00256534 
> <  25 KSP Residual norm 0.00176112 
> <  26 KSP Residual norm 0.000730267 
> < Linear solve converged due to CONVERGED_RTOL iterations 26
> ---
>> [2]PETSC ERROR: ------------------------------------------------------------------------
>> [2]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
>> [2]PETSC ERROR: [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/documentation/faq.html#valgrind[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
>> [0]PETSC ERROR: [1]PETSC ERROR: ------------------------------------------------------------------------
>> [1]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
>> [1]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
>> [1]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[1]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
>> [1]PETSC ERROR: likely location of problem given in stack below
>> [1]PETSC ERROR: ---------------------  Stack Frames ------------------------------------
>> [1]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
>> [1]PETSC ERROR:       INSTEAD the line number of the start of the function
>> [1]PETSC ERROR:       is given.
>> [1]PETSC ERROR: [1] triangulateAndFormProl line 180 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/geo.c
>> [1]PETSC ERROR: [1] PCGAMGProlongator_GEO line 756 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/geo.c
>> [1]PETSC ERROR: [1] PCSetUp_GTry option -start_in_debugger or -on_error_attach_debugger
>> [2]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[2]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
>> [2]PETSC ERROR: likely location of problem given in stack below
>> [2]PETSC ERROR: ---------------------  Stack Frames ------------------------------------
>> [2]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
>> [2]PETSC ERROR:       INSTEAD the line number of the start of the function
>> [2]PETSC ERROR:       is given.
>> [2]PETSC ERROR: [2] triangulateAndFormProl line 180 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/geo.c
>> [2]PETSC ERROR: [2] PCGAMGProlongator_GEO line 756 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/geo.c
>> [2]PETSC ERROR: [2] PCSetUp_GAMG line 560 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/gamg.c
>> [2]PETSC ERROR: [2] PCSetUp line 810 /opt/HPC/petsc-3.3/src/ksp/pc/interface/precon.c
>> [2]PETSC ERROR: [2] KSPSetUp line 182 /opt/HPC/petsc-3.3/src/ksp[3]PETSC ERROR: ------------------------------------------------------------------------
>> [3]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
>> [3]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
>> [3]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[3]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
>> [3]PETSC ERROR: likely location of problem given in stack below
>> [3]PETSC ERROR: ---------------------  Stack Frames ------------------------------------
>> [3]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
>> [3]PETSC ERROR:       INSTEAD the line number of the start of the function
>> [3]PETSC ERROR:       is given.
>> [3]PETSC ERROR: [3] triangulateAndFormProl line 180 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/geo.c
>> [3]PETSC ERROR: [3] PCGAMGProlongator_GEO line 756 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/geo.c
>> [3]PETSC ERROR: [3] PCSetUp_Glikely location of problem given in stack below
>> [0]PETSC ERROR: ---------------------  Stack Frames ------------------------------------
>> [0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
>> [0]PETSC ERROR:       INSTEAD the line number of the start of the function
>> [0]PETSC ERROR:       is given.
>> [0]PETSC ERROR: [0] triangulateAndFormProl line 180 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/geo.c
>> [0]PETSC ERROR: [0] PCGAMGProlongator_GEO line 756 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/geo.c
>> [0]PETSC ERROR: [0] PCSetUp_GAMG line 560 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/gamg.c
>> [0]PETSC ERROR: [0] PCSetUp line 810 /opt/HPC/petsc-3.3/src/ksp/pc/interface/precon.c
>> [0]PETSC ERROR: [0] KSPSetUp line 182 /opt/HPC/petsc-3.3/src/ksp/ksp/interface/itfunc.c
>> [0]PETSC ERROR: [0] KSPSolve line 351 /opt/HPC/petsc-3.3/src/ksp/ksp/interface/itfunc.c
>> [0]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [0]PETSC ERROR: Signal received!
>> [0]PETSC ERROR: ----------------AMG line 560 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/gamg.c
>> [1]PETSC ERROR: [1] PCSetUp line 810 /opt/HPC/petsc-3.3/src/ksp/pc/interface/precon.c
>> [1]PETSC ERROR: [1] KSPSetUp line 182 /opt/HPC/petsc-3.3/src/ksp/ksp/interface/itfunc.c
>> [1]PETSC ERROR: [1] KSPSolve line 351 /opt/HPC/petsc-3.3/src/ksp/ksp/interface/itfunc.c
>> [1]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [1]PETSC ERROR: Signal received!
>> [1]PETSC ERROR: ------------------------------------------------------------------------
>> [1]PETSC ERROR: Petsc Release Version 3.3.0, Patch 2, unknown 
>> [1]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [1]PETSC ERROR: See docs/index.html for manual pages.
>> [1]PETSC ERROR: ------------------------------------------------------------------------
>> [1]PETSC ERROR: ./ex54 on a Darwin-in named iMac.local by blaise Tue Jul 24 21:51:38 2012
>> [1]PETSC ERROR: Libraries linked from /opt/HPC/petsc-3.3/Darwi/ksp/interface/itfunc.c
>> [2]PETSC ERROR: [2] KSPSolve line 351 /opt/HPC/petsc-3.3/src/ksp/ksp/interface/itfunc.c
>> [2]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [2]PETSC ERROR: Signal received!
>> [2]PETSC ERROR: ------------------------------------------------------------------------
>> [2]PETSC ERROR: Petsc Release Version 3.3.0, Patch 2, unknown 
>> [2]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [2]PETSC ERROR: See docs/index.html for manual pages.
>> [2]PETSC ERROR: ------------------------------------------------------------------------
>> [2]PETSC ERROR: ./ex54 on a Darwin-in named iMac.local by blaise Tue Jul 24 21:51:38 2012
>> [2]PETSC ERROR: Libraries linked from /opt/HPC/petsc-3.3/Darwin-intel11.1-g/lib
>> [2]PETSC ERROR: Configure run at Mon Jul 23 20:49:44 2012
>> [2]PETSC ERROR: Configure options --download-hdf5=1 --download-metis=1 --download-parmetis=1 --download-sowing=1 --download-triangle=1 AMG line 560 /opt/HPC/petsc-3.3/src/ksp/pc/impls/gamg/gamg.c
>> [3]PETSC ERROR: [3] PCSetUp line 810 /opt/HPC/petsc-3.3/src/ksp/pc/interface/precon.c
>> [3]PETSC ERROR: [3] KSPSetUp line 182 /opt/HPC/petsc-3.3/src/ksp/ksp/interface/itfunc.c
>> [3]PETSC ERROR: [3] KSPSolve line 351 /opt/HPC/petsc-3.3/src/ksp/ksp/interface/itfunc.c
>> [3]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [3]PETSC ERROR: Signal received!
>> [3]PETSC ERROR: ------------------------------------------------------------------------
>> [3]PETSC ERROR: Petsc Release Version 3.3.0, Patch 2, unknown 
>> [3]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [3]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [3]PETSC ERROR: See docs/index.html for manual pages.
>> [3]PETSC ERROR: ------------------------------------------------------------------------
>> [3]PETSC ERROR: ./ex54 on a Darwin-in named iMac.local by blaise Tue Jul 24 21:51:38 2012
>> [3]PETSC ERROR: Libraries linked from /opt/HPC/petsc-3.3/Darwi--------------------------------------------------------
>> [0]PETSC ERROR: Petsc Release Version 3.3.0, Patch 2, unknown 
>> [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: ./ex54 on a Darwin-in named iMac.local by blaise Tue Jul 24 21:51:38 2012
>> [0]PETSC ERROR: Libraries linked from /opt/HPC/petsc-3.3/Darwin-intel11.1-g/lib
>> [0]PETSC ERROR: Configure run at Mon Jul 23 20:49:44 2012
>> [0]PETSC ERROR: Configure options --download-hdf5=1 --download-metis=1 --download-parmetis=1 --download-sowing=1 --download-triangle=1 --download-yaml=1 --with-blas-lapack-dir=/opt/intel/Compiler/11.1/091/Frameworks/mkl --with-cmake=cmake --with-debugging=1 --with-mpi-dir=/opt/HPC/mpich2-1.4.1p1-intel11.1 --with-pic --with-shared-libraries=1 --with-vendor-compilers=intel --with-x11=1 CFLAGS= CXXFLAn-intel11.1-g/lib
>> [1]PETSC ERROR: Configure run at Mon Jul 23 20:49:44 2012
>> [1]PETSC ERROR: Configure options --download-hdf5=1 --download-metis=1 --download-parmetis=1 --download-sowing=1 --download-triangle=1 --download-yaml=1 --with-blas-lapack-dir=/opt/intel/Compiler/11.1/091/Frameworks/mkl --with-cmake=cmake --with-debugging=1 --with-mpi-dir=/opt/HPC/mpich2-1.4.1p1-intel11.1 --with-pic --with-shared-libraries=1 --with-vendor-compilers=intel --with-x11=1 CFLAGS= CXXFLAGS= PETSC_ARCH=Darwin-intel11.1-g
>> [1]PETSC ERROR: ------------------------------------------------------------------------
>> [1]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 1
>> [cli_1]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 1
>> --download-yaml=1 --with-blas-lapack-dir=/opt/intel/Compiler/11.1/091/Frameworks/mkl --with-cmake=cmake --with-debugging=1 --with-mpi-dir=/opt/HPC/mpich2-1.4.1p1-intel11.1 --with-pic --with-shared-libraries=1 --with-vendor-compilers=intel --with-x11=1 CFLAGS= CXXFLAGS= PETSC_ARCH=Darwin-intel11.1-g
>> [2]PETSC ERROR: ------------------------------------------------------------------------
>> [2]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 2
>> [cli_2]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 2
>> n-intel11.1-g/lib
>> [3]PETSC ERROR: Configure run at Mon Jul 23 20:49:44 2012
>> [3]PETSC ERROR: Configure options --download-hdf5=1 --download-metis=1 --download-parmetis=1 --download-sowing=1 --download-triangle=1 --download-yaml=1 --with-blas-lapack-dir=/opt/intel/Compiler/11.1/091/Frameworks/mkl --with-cmake=cmake --with-debugging=1 --with-mpi-dir=/opt/HPC/mpich2-1.4.1p1-intel11.1 --with-pic --with-shared-libraries=1 --with-vendor-compilers=intel --with-x11=1 CFLAGS= CXXFLAGS= PETSC_ARCH=Darwin-intel11.1-g
>> [3]PETSC ERROR: ------------------------------------------------------------------------
>> [3]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 3
>> [cli_3]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 3
>> GS= PETSC_ARCH=Darwin-intel11.1-g
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
>> [cli_0]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
> /opt/HPC/petsc-3.3/src/ksp/ksp/examples/tutorials 
> Possible problem with with ex54_0, diffs above 
> =========================================
> 
> Also, I though there was a suggestion for the default parameters for GAMG for symmetric elliptic problems in the documentation or the FAQ, but I can't find it. Any suggestion?
> 
> Regards,
> 
> Blaise
> 
> -- 
> Department of Mathematics and Center for Computation & Technology
> Louisiana State University, Baton Rouge, LA 70803, USA
> Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
> 
> 
> 
> 
> 
> 
> 
> -- 
> Department of Mathematics and Center for Computation & Technology
> Louisiana State University, Baton Rouge, LA 70803, USA
> Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
> 
> 
> 
> 
> 
> 
> 
> 



More information about the petsc-users mailing list