[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Memory corruption error in SNESSolve
- To: petsc-users@xxxxxxxxxxx
- Subject: Memory corruption error in SNESSolve
- From: "Vijay M" <vijay.m@xxxxxxxxx>
- Date: Tue, 22 Jan 2008 15:54:08 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Ey541edC3d7Pe89jMcZo+mXrJxdRQ/qJ0vXNqjLqWdA=; b=ELe02E8Qk5c3ndi/hsmzlMlcQUwv2o6kAfOO2dl9F4KwB9mySpbNRtdkHIf1amLn4gAXdO0q+FnBuyLje6U57tVIBe5/Wcf0/UZ8bHonMnoey/ng4zjcCeJqiKriKYEQ6BZelDtD7UP8udnXCQOYU5OWyfGIfT+m9Ht8bMSEzFs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DptE3mwz2hVLcnAON81ZmmOTK3lR683ojcc9AycJTASiFJbORcGXHExzPWL1CQwjzOWEAgvAP6hHfMx/VSGq8VU8qKUzvAYjUJwSZ7Ots7UB1c39upuQ2xYha1kAqpcTz8bEyYUAtc0lFXuW20yaVCeZS4jbzZsz2E6Bqw/L89g=
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
Hi all,
I am currently trying to use LibMesh with PETSc SNES solver to solve a
nonlinear Diffusion-reaction problem. The code works fine with 1
processor but when i use 2 processors for the exact same problem, it
throws me this error regarding memory corruption. I am not sure what
this error is about and was wondering if someone can help me out on
this. Note: My residual function is being called successfully and
returns the residual back without any problem since i can see some
print message at the end of the call ! Hence, this problem is not in
my custom FormFunction.
[1]PETSC ERROR: PetscMallocValidate: error detected at
SNESComputeFunction() line 950 in src/snes/interface/snes.c
[1]PETSC ERROR: Memory at address 0xa5cf40 is corrupted
[1]PETSC ERROR: Probably write past beginning or end of array
[1]PETSC ERROR: Last intact block allocated in PetscStrallocpy() line
82 in src/sys/utils/str.c
[0]PETSC ERROR: PetscMallocValidate: error detected at
SNESComputeFunction() line 950 in src/snes/interface/snes.c
[0]PETSC ERROR: Memory at address 0xa5cf30 is corrupted
[0]PETSC ERROR: Probably write past beginning or end of array
[0]PETSC ERROR: Last intact block allocated in PetscStrallocpy() line
82 in src/sys/utils/str.c
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Memory corruption!
[0]PETSC ERROR: !
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 7, Fri Oct 26
14:21:35 CDT 2007 HG revision:
2e223033ba960114833e1f9713ab393ec78c056f
[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: ./myProg-opt on a linux-gnu named [1]PETSC ERROR:
--------------------- Error Message
------------------------------------
[1]PETSC ERROR: Memory corruption!
[1]PETSC ERROR: !
[1]PETSC ERROR:
------------------------------------------------------------------------
[1]PETSC ERROR: Petsc Release Version 2.3.3, Patch 7, Fri Oct 26
14:21:35 CDT 2007 HG revision:
2e223033ba960114833e1f9713ab393ec78c056f
[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: ----------------------------[cli_0]: aborting job:
application called MPI_Abort(comm=0x84000000, 78) - process 0
[cli_1]: aborting job:
application called MPI_Abort(comm=0x84000000, 78) - process 1
grove.ne.tamu.edu by vijaysm Tue Jan 22 15:47:58 2008
[0]PETSC ERROR: Libraries linked from
/state/partition1/local/petsc-2.3.3-p7/lib/linux-gnu-c-debug
[0]PETSC ERROR: Configure run at Fri Nov 9 15:02:46 2007
[0]PETSC ERROR: Configure options --with-cc=gcc --with-fc=ifort
--with-cxx=g++ --download-f-blas-lapack=1 --download-mpich=1
--with-shared=1
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: PetscMallocValidate() line 139 in src/sys/memory/mtr.c
[0]PETSC ERROR: SNESComputeFunction() line 950 in src/snes/interface/snes.c
[0]PETSC ERROR: SNESSolve_LS() line 158 in src/snes/impls/ls/ls.c
[0]PETSC ERROR: SNESSolve() line 1871 in src/snes/interface/snes.c
[0]PETSC ERROR: main() line 395 in unknowndirectory/myProg.C
If you need some more information, feel free to let me know. Thanks in advance !
Vijay