<div class="gmail_quote">On Thu, Apr 28, 2011 at 16:02, BartÅ‚omiej W <span dir="ltr">&lt;<a href="mailto:bartlomiej.wach@yahoo.pl">bartlomiej.wach@yahoo.pl</a>&gt;</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&#39;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>