[petsc-dev] bjacobi bugs ?

Satish Balay balay at mcs.anl.gov
Wed Jan 25 11:53:21 CST 2012


looks like this piece of code was last changed at:

http://petsc.cs.iit.edu/petsc/petsc-dev/rev/83c325962928

the new code added was 'PCSetUp_BJacobi_Multiproc' - different than 'PCSetUp_BJacobi_Multiblock'

Satish

On Wed, 25 Jan 2012, Barry Smith wrote:

> 
>    In PCSetUp_BJacobi() it has at the end
> 
> 
>      /* ------
>      Setup code depends on the number of blocks
>   */
>   if (jac->n_local == 0) {
>     ierr = PCSetUp_BJacobi_Singleblock(pc,mat,pmat);CHKERRQ(ierr);
>   } else {
>     ierr = PCSetUp_BJacobi_Multiblock(pc,mat,pmat);CHKERRQ(ierr);
>   }
> 
> does this make sense? No. In the normal case it is not using PCSetUp_BJacobi_Singleblock() at all! Something has gone wrong in the logic of the code when multiblock was added.
> 
>     Barry
> 
> 




More information about the petsc-dev mailing list