[Trilinos-Users] Epetra_FEVbrMatrix data entry issue

Williams, Alan B william at sandia.gov
Wed Feb 16 15:43:23 MST 2011


Andrea,

Your code loops over 'NumHits', but it always passes the same indices to the BeginSumIntoGlobalValues method. Shouldn't the indices change as the loop iterates? You're summing into block-row 2, block-col 1 on every processor and in every iteration of the loop.

Alan


> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-
> users-bounces at software.sandia.gov] On Behalf Of Andrea Zonca
> Sent: Wednesday, February 16, 2011 3:24 PM
> To: trilinos-users at software.sandia.gov
> Subject: [Trilinos-Users] Epetra_FEVbrMatrix data entry issue
> 
> Hi all,
> I am a new Trilinos user, I do not understand how to correctly perform
> data entry in a Epetra_FEVbrMatrix.
> What it happens in my code is that using BeginSumIntoGlobalValues the
> data stored on the remote Processors
> are correctly added, but the local data are not, and
> EndSubmitEntries() gives an error code of 2.
> 
> I have the impression this might be related to the fact that the
> indices are not yet local, but I cannot solve this issue,
> 
> I have pasted a working test code here:
> https://gist.github.com/830379
> 
> thanks!
> andrea zonca
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users




More information about the Trilinos-Users mailing list