Skip to content

Belos: Add more testing for block GMRES/CG solvers using Tpetra

James Willenbring requested to merge hkthorn:develop into develop

Created by: hkthorn

@trilinos/belos

Description

Upon reviewing the enabled tests, it was determined that the block GMRES tests were completely disabled for the Tpetra interface and some useful block CG tests were also disabled for the Tpetra interface. The single test that existed in the tpetra/test/BlockGmres directory used a very large linear system and did not run correctly when it was enabled. That test has been updated to use a smaller test matrix from the Harwell-Boeing library and a second test has been added to extend the solver coverage for the Tpetra interface. There was a complex-valued block CG test that was disabled for the Tpetra interface, which has not been enabled.

Motivation and Context

The block GMRES solver was not being tested for the Tpetra linear algebra interface and the block CG had limited testing. This enables better code coverage for an important linear algebra interface.

How Has This Been Tested?

Serial & Parallel OSX with GCC 7.x.

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the code contribution guidelines for this project.
  • [x ] I have added tests to cover my changes.
  • [x ] All new and existing tests passed.
  • No new compiler warnings were introduced.
  • These changes break backwards compatibility.

Merge request reports