Hello All,<br><br>Thank you for your reply. <br>This result is obtained by running my own application code.<br><br>Best,<br>Rongliang<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 20 Sep 2011 19:06:41 -0500<br>
From: Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>><br>
Subject: Re: [petsc-users] Matrix Factorization fill<br>
To: PETSc users list <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>><br>
Message-ID:<br>
<<a href="mailto:CAMYG4Gmnbt3GQdqa%2BsQFUetcrQqgnM_a7NwpA3SzibY7ANbYBg@mail.gmail.com">CAMYG4Gmnbt3GQdqa+sQFUetcrQqgnM_a7NwpA3SzibY7ANbYBg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
On Tue, Sep 20, 2011 at 7:02 PM, Rongliang Chen <<a href="mailto:rongliang.chan@gmail.com">rongliang.chan@gmail.com</a>>wrote:<br>
<br>
> Hi,<br>
><br>
> I have a question about the Sparse Matrix Factorization fill.<br>
> Following the manual, I use the option "-info" and get the following<br>
> result:<br>
><br>
> [0] MatLUFactorSymbolic_SeqAIJ(): Reallocs 0 Fill ratio:given 5 needed<br>
> 5.0746e-05<br>
> [0] MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill 5.0746e-05 or<br>
> use<br>
> [0] MatLUFactorSymbolic_SeqAIJ(): PCFactorSetFill(pc,5.0746e-05);<br>
><br>
> What's the numbers mean in "Reallocs 0 Fill ratio:given 5 needed<br>
> 5.0746e-05"?<br>
> Does the " Run with -pc_factor_fill 5.0746e-05 or use" mean that I should<br>
> run my code with option " -pc_factor_fill 5.0746e-05"?<br>
><br>
<br>
"Reallocs 0": no additional malloc()s were needed<br>
<br>
"Fill rato: give 5 needed 5.0746e-05" We guessed that the factor would need<br>
5 times the matrix memory. It actually needed a lot less.<br>
<br>
If you run -pc_factor_fill 5.0746e-05, you will get the same performance and<br>
use a lot less memory.<br>
<br>
Matt<br>
<br>
<br>
> But when I run my code with option "-snes_view", I get "factor fill ratio<br>
> given 5, needed 3.28701".<br>
> So what should I give to the option "-pc_factor_fill", 3.28701 or<br>
> 5.0746e-05? Thanks.<br>
><br>
> Best,<br>
> Rongliang<br>
><br>
<br>
<br>
<br>
--<br>
What most experimenters take for granted before they begin their experiments<br>
is infinitely more interesting than any results to which their experiments<br>
lead.<br>
-- Norbert Wiener<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110920/1f878139/attachment-0001.htm" target="_blank">http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110920/1f878139/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Tue, 20 Sep 2011 20:07:44 -0500<br>
From: Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>><br>
Subject: Re: [petsc-users] Matrix Factorization fill<br>
To: PETSc users list <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>><br>
Message-ID: <<a href="mailto:48785310-F532-48E8-8220-88392A5047FA@mcs.anl.gov">48785310-F532-48E8-8220-88392A5047FA@mcs.anl.gov</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
On Sep 20, 2011, at 7:02 PM, Rongliang Chen wrote:<br>
<br>
> Hi,<br>
><br>
> I have a question about the Sparse Matrix Factorization fill.<br>
> Following the manual, I use the option "-info" and get the following result:<br>
><br>
> [0] MatLUFactorSymbolic_SeqAIJ(): Reallocs 0 Fill ratio:given 5 needed 5.0746e-05<br>
> [0] MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill 5.0746e-05 or use<br>
> [0] MatLUFactorSymbolic_SeqAIJ(): PCFactorSetFill(pc,5.0746e-05);<br>
><br>
> What's the numbers mean in "Reallocs 0 Fill ratio:given 5 needed 5.0746e-05"?<br>
> Does the " Run with -pc_factor_fill 5.0746e-05 or use" mean that I should run my code with option " -pc_factor_fill 5.0746e-05"?<br>
<br>
This is printed incorrectly due to a change in our data structures, we will fix it.<br>
<br>
><br>
> But when I run my code with option "-snes_view", I get "factor fill ratio given 5, needed 3.28701".<br>
> So what should I give to the option "-pc_factor_fill", 3.28701 or 5.0746e-05? Thanks.<br>
<br>
The 3.28701<br>
<br>
Barrty<br>
<br>
><br>
> Best,<br>
> Rongliang<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Tue, 20 Sep 2011 22:21:53 -0500 (CDT)<br>
From: Shri <<a href="mailto:abhyshr@mcs.anl.gov">abhyshr@mcs.anl.gov</a>><br>
Subject: Re: [petsc-users] Matrix Factorization fill<br>
To: PETSc users list <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>><br>
Message-ID:<br>
<<a href="mailto:1333380760.24263.1316575313230.JavaMail.root@zimbra.anl.gov">1333380760.24263.1316575313230.JavaMail.root@zimbra.anl.gov</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
I can't reproduce this with snes/examples/tutorials/ex3.c,ex5.c, or ex19.c. Are you running a petsc example or your own application code?<br>
<br>
Shri<br>
----- Original Message -----<br>
> On Sep 20, 2011, at 7:02 PM, Rongliang Chen wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > I have a question about the Sparse Matrix Factorization fill.<br>
> > Following the manual, I use the option "-info" and get the following<br>
> > result:<br>
> ><br>
> > [0] MatLUFactorSymbolic_SeqAIJ(): Reallocs 0 Fill ratio:given 5<br>
> > needed 5.0746e-05<br>
> > [0] MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill<br>
> > 5.0746e-05 or use<br>
> > [0] MatLUFactorSymbolic_SeqAIJ(): PCFactorSetFill(pc,5.0746e-05);<br>
> ><br>
> > What's the numbers mean in "Reallocs 0 Fill ratio:given 5 needed<br>
> > 5.0746e-05"?<br>
> > Does the " Run with -pc_factor_fill 5.0746e-05 or use" mean that I<br>
> > should run my code with option " -pc_factor_fill 5.0746e-05"?<br>
><br>
> This is printed incorrectly due to a change in our data structures, we<br>
> will fix it.<br>
><br>
> ><br>
> > But when I run my code with option "-snes_view", I get "factor fill<br>
> > ratio given 5, needed 3.28701".<br>
> > So what should I give to the option "-pc_factor_fill", 3.28701 or<br>
> > 5.0746e-05? Thanks.<br>
><br>
> The 3.28701<br>
><br>
> Barrty<br>
><br>
> ><br>
> > Best,<br>
> > Rongliang<br>
<br></blockquote></div>