[Trilinos-Users] EpetraExt_View_CrsMatrix
Mike Heroux
maherou at sandia.gov
Fri Oct 21 15:50:33 MDT 2005
Simone,
It looks like you hit the restriction that is part of the present
EpetraExt::CrsMatrix_View, namely that a row entries of a submatrix must be
a contiguously stored subarray of the row entries of the original matrix.
Mike
> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov
> [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf
> Of Simone Deparis
> Sent: Friday, October 21, 2005 3:34 PM
> To: trilinos-users at software.sandia.gov
> Subject: [Trilinos-Users] EpetraExt_View_CrsMatrix
>
> Hi,
>
> I wrote a test for the EpetraExt_View_CrsMatrix class.
> Something is strange with the Viewed Matrix:
> I am probably doing something silly, but I do not understand what.
> could somebody give me some hints, please?
>
> Thank you
> Simone
> PS: the code is suppesed to run on with 2 CPU's here is my ouytput:
>
> $ mpirun -np 2 ./testSubView.exe
> % using MPI
> % using MPI
> finished filling : 1==1
> defined SubColMap
> defined SubRowMap
> defined SubGrap : Column Map
> : Row Map
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 514
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 413
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 514
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 413
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 514
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 413
> Sub A filled : 1==0
> finished filling : 1==1
> defined SubColMap
> defined SubRowMap
> defined SubGrap : Column Map
> : Row Map
> Sub A filled : 1==0
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 514
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 413
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 514
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 413
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 514
> Epetra ERROR -3, ../../../../packages/epetra/src/Epetra_CrsMatrix.cpp,
> line 413
>
>
> --
> _____________________________________________________________________
> Simone Deparis
> .~. Mech Eng Dept - MIT
> /V\ L I N U X 77 Mass Ave Room 3-264
> // \\ ================= Cambridge MA 02139
> /( )\ USA
> ^^-^^
> phone : +1 617 452 3285 mailto:deparis at mit.edu
> fax : +1 617 258 8559 http://www.mit.edu/~deparis
> _____________________________________________________________________
>
>
>
More information about the Trilinos-Users
mailing list