[Trilinos-Users] possible bug

Paolo Crosetto paolo.crosetto at epfl.ch
Sat Jan 17 11:25:57 MST 2009


Hi,

I noticed that the METIS reordering of the Ifpack preconditioners gives
an error, because in the file Ifpack_METISReordering.cpp, line 117,
there are the two following lines
    IFPACK_CHK_ERR(SymGraph->OptimizeStorage());
    IFPACK_CHK_ERR(SymGraph->FillComplete());
However in the file Epetra_CrsGraph.cpp where the OptimizeStorage()
method is defined it is required the the matrix is already filled (line
1169):
  if (!Filled()) EPETRA_CHK_ERR(-1); // Cannot optimize storage before
calling FillComplete()

Paolo




More information about the Trilinos-Users mailing list