On Fri, Jan 20, 2012 at 4:59 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Jan 20, 2012, at 4:51 PM, Matthew Knepley wrote:<br>
<br>
> On Fri, Jan 20, 2012 at 4:45 PM, Paul Mullowney <<a href="mailto:paulm@txcorp.com">paulm@txcorp.com</a>> wrote:<br>
> The new code using CUSPARSE gives you triangular solves that are supported by Nvidia. They are as fast as what was in their previously. Advantage is that it's now fully supported by the vendor library.<br>
><br>
> The matrix multiplication is more succinct than what was in petsc-dev. Plus it has options for choosing storage format on the device for optimal performance.<br>
> You now have csr/coo/ell/dia formats ... Plus the SpMV scales across multiple GPUs now.<br>
><br>
> I am happy to remove printf's if that helps.<br>
><br>
> Although, I care in the abstract about how code looks, I don't have enough time to complain about it. I care in this case,<br>
> because it does not appear to be supportable by us. If this is not true, and someone understands all this, please say so.<br>
> Then I will go back to not caring.<br>
<br>
</div> It may easily be that some refactoring is in order. For example the PETSc style would not have one function that handles conversion to several different matrix formats on the GPU. Rather each conversion would have its own (simple) function which is simplier to understand and maintain and extend. Paul is new to PETSc development and doesn't understand all our quirks.<br>
<br>
But Matt does bring up an extremely important point; PETSc code must be clean enough and simple enough to allow any member of the team to maintain it. If the code requires the author only to make changes to it then the code cannot be allowed.</blockquote>
<div><br></div><div>This is why all the mesh code is being rewritten again.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Barry<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> Matt<br>
><br>
><br>
> -Paul<br>
><br>
><br>
><br>
>> On Fri, Jan 20, 2012 at 4:37 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
>><br>
>> On Jan 20, 2012, at 4:31 PM, Matthew Knepley wrote:<br>
>><br>
>> > <a href="http://petsc.cs.iit.edu/petsc/petsc-dev/rev/2a4f352daf49" target="_blank">http://petsc.cs.iit.edu/petsc/petsc-dev/rev/2a4f352daf49</a><br>
>> ><br>
>> > What is going on here, and why can't it be done more succintly?<br>
>><br>
>> Hell its GPUs, what do you expect?<br>
>><br>
>> What particularly part do you feel is overly complex and could be more succintly?<br>
>><br>
>> This checkin of fixes is larger than the entire prior implementation. Why, what is better?<br>
>><br>
>> There are a ton of new functions with obscure names (unless Some has a meaning which<br>
>> escapes me).<br>
>><br>
>> There seem to be a huge number of cases treated in enormous functions rather than<br>
>> factoring them out.<br>
>><br>
>> Matt<br>
>><br>
>><br>
>> Barry<br>
>><br>
>><br>
>> ><br>
>> > Matt<br>
>> ><br>
>> > --<br>
>> > What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
>> > -- Norbert Wiener<br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
>> -- Norbert Wiener<br>
><br>
><br>
><br>
><br>
> --<br>
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
> -- Norbert Wiener<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>