[Trilinos-Users] issue on extracting view from FEVbrMatrix

Williams, Alan B william at sandia.gov
Sat Feb 19 09:41:58 MST 2011


Andrea,
Perhaps you're extracting a view of a block that resides on a different processor?
After GlobalAssemble is called, the data is moved to unique processor ownership as described by the Epetra_Map that the matrix was constructed with.
Alan


________________________________________
From: trilinos-users-bounces at software.sandia.gov [trilinos-users-bounces at software.sandia.gov] On Behalf Of Andrea Zonca [zonca at deepspace.ucsb.edu]
Sent: Friday, February 18, 2011 8:52 PM
To: trilinos-users at software.sandia.gov
Subject: [Trilinos-Users] issue on extracting view from FEVbrMatrix

hi,
I have an issue when extracting a view from FEVbrMatrix; the code is the same
I showed previously, after having assembled a FEVbrMatrix I extract a view of a
3x3 SerialDense matrix.
This matrix prints fine but when I try accessing the second column
elements it fails with segmentation
fault.
See working code here:
https://gist.github.com/834803

the output of the code is in the comments.
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