Skip to content

Try to address jumbled output for terminate message (#3163)

Created by: bartlettroscoe

@trilinos/teuchos

Description

Send output to std::cerr all in one string to try to avoid jumbled output.

I also fixed a typo that I noticed in a comment not related to this code in this file.

Motivation and Context

This might fix the randomly failing test TeuchosCore_testTeuchosTestForTermination_2_MPI_4 for the CUDA builds on platform 'hansen' (see #3163 (closed)).

How Has This Been Tested?

I just did a local build on my machine to make sure the code builds and passes all of the TeuchosCore tests (which it did). The real test will take place over the coming weeks and months to see if this test fails anymore.

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • All new and existing tests passed.
  • No new compiler warnings were introduced.

Merge request reports