MueLu unit test fail on exit under MPICH3.2
Created by: prwolfe
The unit tests MueLu_UnitTestsEpetra_MPI_1, MueLu_UnitTestsEpetra_MPI_4, MueLu_UnitTestsTpetra_MPI_1, and MueLu_UnitTestsTpetra_MPI_4 all run to completion and at exit fail with
WARNING: Tpetra::Map destructor (~Map()) is being called after Kokkos::finalize() has been called. > This is user error! There are two likely causes:
- You have a static Tpetra::Map (or RCP or shared_ptr of a Map)
- You declare and construct a Tpetra::Map (or RCP or shared_ptr of a Tpetra::Map) at the same scope in main() as Kokkos::finalize() or Tpetra::finalize().
Don't do either of these! Please refer to GitHib Issue #2372 (closed).
I do not see these under openmpi builds.
@trilinos/muelu
Steps to Reproduce
This can be see from my test builds of the new PR template at https://testing-vm.sandia.gov/cdash/testDetails.php?test=45860155&build=3464065 and can be re-created by doing
source ${TrilinosSource}/cmake/std/sems/PullRequestIntel17.0.1TestingEnv.sh
cmake -C ${TrilinosSource}/cmake/std/PullRequestLinuxIntelTestingSettings.cmake -DTrilinos_ENABLE_MueLu=ON ${TrilinosSource}
cd pacakges/muelu/test/unit_tests
make
Note that I am also seeing this in zoltan2. Not sure if this is a shared issue or not. I am building in debug now to try and find the issue.