Teuchos stacked timer build failure in all ATDM builds
Created by: fryeguy52
CC: @trilinos/teuchos, @jwillenbring (Trilinos Framework Product Lead), @bartlettroscoe, @fryeguy52
Next Action Status
Merge of fixing PR #4146 to 'develop' on 1/7/2019 resulted in 100% clean ATDM CUDA builds on 1/9/2019.
Description
As shown in this query the test TeuchosComm_stacked_timer_MPI_2
is not being run in all ATDM builds due to a build failure
Error building packages/teuchos/comm/test/StackedTimer/CMakeFiles/TeuchosComm_stacked_timer.dir/stacked_timer.cpp.o
/scratch/rabartl/Trilinos.base/NightlyBuilds/Trilinos-atdm-cee-rhel6-clang-5.0.1-openmpi-1.10.2-serial-static-opt/SRC_AND_BUILD/Trilinos/packages/teuchos/comm/test/StackedTimer/stacked_timer.cpp:357:3: error: use of undeclared identifier 'Kokkos'
Kokkos::initialize(argc,argv);
^
/scratch/rabartl/Trilinos.base/NightlyBuilds/Trilinos-atdm-cee-rhel6-clang-5.0.1-openmpi-1.10.2-serial-static-opt/SRC_AND_BUILD/Trilinos/packages/teuchos/comm/test/StackedTimer/stacked_timer.cpp:365:7: error: use of undeclared identifier 'Kokkos'
if (Kokkos::is_initialized())
^
/scratch/rabartl/Trilinos.base/NightlyBuilds/Trilinos-atdm-cee-rhel6-clang-5.0.1-openmpi-1.10.2-serial-static-opt/SRC_AND_BUILD/Trilinos/packages/teuchos/comm/test/StackedTimer/stacked_timer.cpp:366:5: error: use of undeclared identifier 'Kokkos'
Kokkos::finalize_all();
^
3 errors generated.
The new commits on the day this started failing are:
65c3205: Teuchos: Fix StackedTimer reporting
Author: Roger Pawlowski <rppawlo@sandia.gov>
Date: Thu Jan 3 19:16:17 2019 -0700
M packages/teuchos/comm/src/Teuchos_StackedTimer.hpp
M packages/teuchos/comm/test/StackedTimer/stacked_timer.cpp
2dbd8c5: Teuchos: StackedTimer now supports kokkos profiling space_time_stack
Author: Roger Pawlowski <rppawlo@sandia.gov>
Date: Thu Jan 3 18:10:29 2019 -0700
M packages/panzer/adapters-stk/example/MixedPoissonExample/main.cpp
M packages/teuchos/comm/src/Teuchos_StackedTimer.hpp
M packages/teuchos/comm/src/Teuchos_TimeMonitor.cpp
M packages/teuchos/comm/test/StackedTimer/CMakeLists.txt
M packages/teuchos/comm/test/StackedTimer/stacked_timer.cpp
@rppawlo can you look into this?
Steps to Reproduce
One should be able to reproduce this failure on with a sems rhel6 environment as described in:
More specifically, the commands given for with a sems rhel6 environment are provided at:
The exact commands to reproduce this issue should be:
$ cd <some_build_dir>/
$ source $TRILINOS_DIR/cmake/std/atdm/load-env.sh Trilinos-atdm-sems-rhel6-gnu-opt-openmp
$ cmake \
-GNinja \
-DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/atdm/ATDMDevEnv.cmake \
-DTrilinos_ENABLE_TESTS=ON -DTrilinos_ENABLE_Teuchos=ON \
$TRILINOS_DIR
$ make NP=16
$ ctest -j8