[Trilinos-Users] Epetra_CrsMatrix accessing the value in another node
Hoemmen, Mark
mhoemme at sandia.gov
Fri Mar 29 12:18:47 MDT 2013
On Mar 29, 2013, at 12:00 PM, <trilinos-users-request at software.sandia.gov>
wrote:
> Message: 1
> Date: Fri, 29 Mar 2013 11:23:52 +0900
> From: "Sunghwan Choi" <sunghwanchoi91 at gmail.com>
> Subject: [Trilinos-Users] Epetra_CrsMatrix acessing the value in other
> node; ;
> To: trilinos-users at software.sandia.gov
> Message-ID: <01c901ce2c24$770df010$6529d030$@gmail.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> I want to construct symmetric matrix and using AztecOO, solving linear
> equation.
>
> I originally planned to compute upper elements and copy them in to lower
> elements.
>
> However, I got failed to insert values which is stored in different node.
> InsertGlobal Value returned -1. Is there any way to insert values to memory
> in different nodes without calling MPI externally?
Use Epetra_FECrsMatrix. Epetra_CrsMatrix does not allow inserting values into rows not owned by the calling process. Epetra_FECrsMatrix does allow this.
> And also, do you know the best way to construct symmetric matrix with more
> than one core in Epetra_CrsMatrix?
Epetra does not implement symmetric storage on its own. Just fill the matrix and stop worrying about symmetry :-)
mfh
More information about the Trilinos-Users
mailing list