<div class="gmail_quote">On Thu, May 24, 2012 at 2:14 PM, Abdul Hanan Sheikh <span dir="ltr"><<a href="mailto:hanangul12@yahoo.co.uk" target="_blank">hanangul12@yahoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif"><div><span>Dear all, <br></span></div><div><span>I am quit beginner in PETSc. <br></span></div><div><span>I wrote a code for multigrid Vcycle (as preconditioer) by following the instructions on manual page. </span><span></span><span><br>
</span></div><div><span>I want to see how much memory a Vcycle allocates by default in terms of number of matrices and vectors. <br></span></div><div><span>I made a try to see by comparing with jacobi preconditioner, which surely allocates 1 vector ONLY. <br>
</span></div><div><span>It turns out that a VCycle for FIVE (5) levels including coarsest level allocates memory for 53 vectors and <br></span></div><div><span>subsequently it destroys too.</span></div></div></div></blockquote>
<div><br></div><div>Some of those vectors are very small due to being on the coarse level. There are also the vectors used by the outer Krylov method.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif"><div><span><br></span></div><div><span>Is it normal ?? <br></span></div><div><span><br></span></div><div><br></div><div>Thanks in advance,
<br><span></span></div><div>Abdul<br></div><div><span style="color:rgb(0,0,255)"><span style="font-family:verdana,helvetica,sans-serif"><span style="font-family:lucida console,sans-serif"></span></span></span><span style="color:rgb(0,0,255)"><span style="font-family:verdana,helvetica,sans-serif"></span></span></div>
</div></div></blockquote></div><br>