[petsc-dev] [issue495] SEGV in hypre_BoomerAMGCycleT

Allison Baker hypre Tracker hypre-support at llnl.gov
Tue Jan 12 10:52:02 CST 2010


Allison Baker <abaker at llnl.gov> added the comment:

Hi Jed,

You are correct that there is a bug in

HYPRE_BoomerAMGSolveT (which calls hypre_BoomerAMGCycleT) in  

Hypre-2.4.0b.  It has already been fixed and will be included in the upcoming beta release.

Thanks,
Allison

Jed Brown hypre Tracker wrote:
> New submission from Jed Brown <jed at 59A2.org>:
>
> Useing Hypre-2.4.0b through PETSc's interface, I get the following
>
> $ cd petsc/src/ksp/ksp/examples/tutorials
> $ gdb -ex r --args ./ex2 -ksp_type cgne -pc_type hypre
> No symbol table is loaded.  Use the "file" command.
> Breakpoint 1 (PetscError) pending.
> Reading symbols from /home/jed/petsc/src/ksp/ksp/examples/tutorials/ex2...done.
> Starting program: /home/jed/petsc/src/ksp/ksp/examples/tutorials/ex2 -ksp_type cgne -pc_type hypre
> [Thread debugging using libthread_db enabled]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff783b7b8 in hypre_BoomerAMGCycleT (amg_vdata=0x851950, F_array=0x859b00, U_array=0x859bd0) at par_amg_solveT.c:432
> 432              relax_points =   grid_relax_points[cycle_param][j];
> (gdb) p grid_relax_points 
> $1 = (int **) 0x0
> (gdb) bt
> #0  0x00007ffff783b7b8 in hypre_BoomerAMGCycleT (amg_vdata=0x851950, F_array=0x859b00, U_array=0x859bd0) at par_amg_solveT.c:432
> #1  0x00007ffff783b1c7 in hypre_BoomerAMGSolveT (amg_vdata=0x851950, A=0x850790, f=0x85b860, u=0x8589e0) at par_amg_solveT.c:203
> #2  0x00007ffff782d263 in HYPRE_BoomerAMGSolveT (solver=0x851950, A=0x850790, b=0x85b860, x=0x8589e0) at HYPRE_parcsr_amg.c:94
> #3  0x00007ffff772b5ff in PCApplyTranspose_HYPRE_BoomerAMG (pc=0x84f390, b=0x856f90, x=0x854150) at hypre.c:354
> #4  0x00007ffff77c8540 in PCApplyTranspose (pc=0x84f390, x=0x856f90, y=0x854150) at precon.c:480
> #5  0x00007ffff76c8f61 in KSPSolve_CGNE (ksp=0x8408e0) at cgne.c:113
> #6  0x00007ffff776408f in KSPSolve (ksp=0x8408e0, b=0x7f8110, x=0x834d10) at itfunc.c:396
> #7  0x0000000000402829 in main (argc=5, args=0x7fffffffd048) at ex2.c:196
>
> Are we expected to do something special so that
> amg_data->grid_relax_points is allocated?
>
> Jed
>
> ----------
> messages: 2476
> nosy: abaker, jed, petsc-dev, rfalgout, tzanio, ulrikey
> status: unread
> title: SEGV in hypre_BoomerAMGCycleT
>
> ____________________________________________
> hypre Issue Tracker <hypre-support at llnl.gov>
> <http://tux149.llnl.gov/hypre/issue495>
> ____________________________________________
>
>

----------
status: unread -> chatting

____________________________________________
hypre Issue Tracker <hypre-support at llnl.gov>
<http://tux149.llnl.gov/hypre/issue495>
____________________________________________



More information about the petsc-dev mailing list