[petsc-dev] Hypre error on Cray XC30 w/ 64 bit ints

Barry Smith bsmith at mcs.anl.gov
Sun Aug 25 14:35:33 CDT 2013


  Hmm,  from hypre.py I see 

    self.requires32bitint = 0

  but then in the rest of hypre.py I don't see any different flag being set to compile hypre to use 64 bit integers nor do I see any test that hypre has 64 bit integers enabled.

  The hypre configure flag for 64 bit integers is --enable_bigint

   Thus I conclude we have a buggy set up in that regard. We should

1) when doing a hypre install pass the configure flag --enable_bigint to hypre when 64 bit indices are used

2) add an additional test to hypre configure when 64 bit indices to make sure hypre is using 64 indices. Will need to figure out a portable way to do this test.

   I don't have time in the next few hours for fix this.

   Mark, you should be able to simply install hypre on your on with --enable_bigint  and then use PETSc with it (don't rely on PETSc's --download-hypre in this case till we fix it).

   Barry



On Aug 25, 2013, at 1:04 PM, "Mark F. Adams" <mfadams at lbl.gov> wrote:

> I'm getting these memory error in hypre on the new Cray XC30 at NERSC (Edison) with 64 bit ints.  I found two different stacks in looking around processors.
> 
> Any ideas?
> 
> Mark
> 
> #10 KSPSolve () (at 0x00000000012f121a)
> #9 KSPSetUp () (at 0x00000000012f5abb)
> #8 PCSetUp () (at 0x00000000011f7f0e)
> #7 PCSetUp_HYPRE () (at 0x0000000001254ab2)
> #6 HYPRE_BoomerAMGSetup () (at 0x00000000018a9cf6)
> #5 hypre_BoomerAMGSetup () (at 0x00000000018b1493)
> #4 hypre_BoomerAMGCreateS () (at 0x0000000001921952)
> #3 hypre_MatvecCommPkgCreate () (at 0x000000000194a0c0)
> #2 hypre_Free () (at 0x0000000001a0ee1b)
> #1 __libc_free (mem=<value optimized out>) at /usr/src/packages/BUILD/glibc-2.11.3/malloc/malloc.c:3733 (at 0x0000000002474a87)
> #0 _int_free (av=0x324a7e0, p=0x593b120) at /usr/src/packages/BUILD/glibc-2.11.3/malloc/malloc.c:4951 (at 0x00000000024714fa)
> 
> 
> 
> #12 KSPSolve () (at 0x00000000012f121a)
> #11 KSPSetUp () (at 0x00000000012f5abb)
> #10 PCSetUp () (at 0x00000000011f7f0e)
> #9 PCSetUp_HYPRE () (at 0x0000000001254ab2)
> #8 HYPRE_BoomerAMGSetup () (at 0x00000000018a9cf6)
> #7 hypre_BoomerAMGSetup () (at 0x00000000018b1493)
> #6 hypre_BoomerAMGCreateS () (at 0x0000000001921952)
> #5 hypre_MatvecCommPkgCreate () (at 0x000000000194a0c0)
> #4 hypre_Free () (at 0x0000000001a0ee1b)
> #3 __libc_free (mem=<value optimized out>) at /usr/src/packages/BUILD/glibc-2.11.3/malloc/malloc.c:3733 (at 0x0000000002474a87)
> #2 malloc_printerr (action=2, str=0x26cf880 "double free or corruption (!prev)", ptr=<value optimized out>) at /usr/src/packages/BUILD/glibc-2.11.3/malloc/malloc.c:6261 (at 0x000000000246fd14)
> #1 __libc_message (do_abort=2, fmt=0x26cf6b8 "*** glibc detected *** %s: %s: 0x%s ***\n") at /usr/src/packages/BUILD/glibc-2.11.3/libio/../sysdeps/unix/sysv/linux/libc_fatal.c:186 (at 0x000000000246a5ef)
> #0  abort () at /usr/src/packages/BUILD/glibc-2.11.3/stdlib/abort.c:59
> 




More information about the petsc-dev mailing list