Closed tlamonthezie closed 1 year ago
Heidi provided the following response: The Tpetra HB matrix reader needs to be fixed then. This is a common format for matrices to be stored in and not being able to read them in for examples and tests is a problem for the solver packages. Not fixing the reader will just be postponing the inevitable.
I think this means this goes into the problem area for now.
Finally a new version of orsiss.hb has been found and is working with the Tpetra::Utils::readHBMatrix
method and will be part of this PR
:zap: Code quality check :zap:
Fixes #180
PR to Trilinos: https://github.com/trilinos/Trilinos/pull/12327
Currently these examples cannot build inside Trilinos (Commented in CmakeLists.txt) because of a circular dependency
Circular Dependency to Ifpack2 has to be fixed first The 2 examples can only be compiled when adding Ifpack2 as a dependency of Belos (like Ifpack) and by disabling dependencies from ifpack2 to Belos because there is a circular dependency between these 2 packages to fix first. So it should work after dependency fix.
Possible Obsolete HB Matrix File Reader This example shows also how to use the Tpetra::Utils:readHBMatrix which does not require TriUtil (epetra does require it) The fact is that Tpetra fail to open orsirr1.hb file found in the epetra tests and this data file is very old so it might be obsolete for now ? (there is no HB version option found in Tpetra::Utils:readHBMatrix it just complains about an invalid file format)
To see the problem you can change the following (using the TriUtil HB reader)
to that (Tpetra Utils HB reader)
It does not work with osrirr1.hb but works like it has been done here with another .hb data file found in trilinos