<div class="gmail_quote">On Thu, Apr 28, 2011 at 16:02, Bartłomiej W <span dir="ltr"><<a href="mailto:bartlomiej.wach@yahoo.pl">bartlomiej.wach@yahoo.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br><br>I was trying to allocate a sparse AIJ matrix of over 800 entries<br><br>MatSeqAIJSetPreallocation(L,PETSC_NULL,nnz);<br><br>(with proper nonzeros vector)<br>results in an<br>Maximum memory PetscMalloc()ed 315699888 OS cannot compute size of entire process<br>
(in ubuntu)</blockquote></div><br><div>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.</div>