[petsc-users] Large matrixes on single machine

Jed Brown jed at 59A2.org
Thu Apr 28 09:33:52 CDT 2011


On Thu, Apr 28, 2011 at 16:02, Bartłomiej W <bartlomiej.wach at yahoo.pl>wrote:

> Hello,
>
> I was trying to allocate a sparse AIJ matrix of over 800 entries
>
> MatSeqAIJSetPreallocation(L,PETSC_NULL,nnz);
>
> (with proper nonzeros vector)
> results in an
> Maximum memory PetscMalloc()ed 315699888 OS cannot compute size of entire
> process
> (in ubuntu)


What was in the nnz array? If you don't expect the problem to exceed the
addressable memory, then the array is probably corrupt. If you really mean
to be solving a very large problem, you will have to get a 64-bit machine
and configure --with-64-bit-indices, or run in parallel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110428/ac2f3397/attachment.htm>


More information about the petsc-users mailing list