[petsc-dev] Dealing with off-processor aij-matrices not having preallocation information

Barry Smith bsmith at mcs.anl.gov
Thu Mar 21 11:08:42 CDT 2013


On Mar 21, 2013, at 11:04 AM, Matthew Knepley <knepley at gmail.com> wrote:

> On Thu, Mar 21, 2013 at 11:59 AM, Karl Rupp <rupp at mcs.anl.gov> wrote:
> Hey,
> 
> 
>     I can confirm that this fixes the issues with GPUs. If, on the other
>     hand, we pick a), then code gets substantially simpler even than it
>     is now. As noted, the only drawback is that the default
>     preallocation for on- and off-processor values is the same. I can
>     live with that.
> 
> 
> Still want simpler.
> 
>     Matt
> 
> Alright, here we go:
> https://bitbucket.org/petsc/petsc/commits/9200956088015849f17bb1ff07731f2d9638da35
> 
> Note that it fixes the problem by removing code only :-)
> 
> Karl wins the Barry Smith Code Removal Award :)

  +1

> 
>    Matt
>  
> Best regards,
> Karli
> 
> 
> 
> 
> -- 
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener




More information about the petsc-dev mailing list