out of memory error

Gideon Simpson grs2103 at columbia.edu
Thu Mar 6 13:47:35 CST 2008


Matrix Object:
   type=seqaij, rows=218898, cols=218898
   total: nonzeros=20389756, allocated nonzeros=20389756
     not using I-node routines

On Mar 6, 2008, at 2:36 AM, li pan wrote:

> hi Gideon,
> can I ask you how big is the nonzero allocation of
> your sparse matrix?
>
> pan
>
>
> --- Gideon Simpson <grs2103 at columbia.edu> wrote:
>
>> I'm getting the following error with some code,
>> running on a serial
>> machine with, i think, 3 gigs of memory.  Is there
>> anyway to
>> circumvent this error by being clever, or do I
>> really need to go to a
>> distributed memory machine?
>>
>> -gideon
>>
>> Out of memory trying to allocate 112032952 bytes
>> [0]PETSC ERROR:
>>
> ------------------------------------------------------------------------
>> [0]PETSC ERROR: Caught signal number 10 BUS: Bus
>> Error, possibly
>> illegal memory access
>> [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: likely 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] PCSetUp_HYPRE line 95
>> src/ksp/pc/impls/hypre/hypre.c
>> [0]PETSC ERROR: [0] PCSetUp line 764
>> src/ksp/pc/interface/precon.c
>> [0]PETSC ERROR: [0] KSPSetUp line 183
>> src/ksp/ksp/interface/itfunc.c
>> [0]PETSC ERROR: [0] KSPSolve line 305
>> src/ksp/ksp/interface/itfunc.c
>> [0]PETSC ERROR: --------------------- Error Message
>>
>> ------------------------------------
>> [0]PETSC ERROR: Signal received!
>> [0]PETSC ERROR:
>>
> ------------------------------------------------------------------------
>> [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch
>> 8, Fri Nov 16
>> 17:03:40 CST 2007 HG revision:
>> 414581156e67e55c761739b0deb119f7590d0f4b
>> [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: ./bulk3d on a darwin8.1 named
>> valkyrie.appmath.columbia.edu by gideon Wed Mar  5
>> 15:53:26 2008
>> [0]PETSC ERROR: Libraries linked from
>> /Users/gideon/software/
>> petsc-2.3.3-p8/lib/darwin8.11.1-cxx-debug
>> [0]PETSC ERROR: Configure run at Thu Jan 10 11:00:45
>> 2008
>> [0]PETSC ERROR: Configure options
>> --with-clanguage=cxx --with-mpi-dir=/
>> Users/gideon/software --with-mpi-shared=1 --with-x11
>> --download-
>> hypre=1 --with-hypre=1 --download-umfpack=1
>> --with-umfpack=1 --with-
>> shared=1 --with-dynamic=1
>> [0]PETSC ERROR:
>>
> ------------------------------------------------------------------------
>> [0]PETSC ERROR: User provided function() line 0 in
>> unknown directory
>> unknown file
>>
>>
>>
>>
>
>
>
>       
> ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>




More information about the petsc-users mailing list