Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 936
    • Issues 936
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • James Willenbring
  • Trilinos
  • Issues
  • #4145

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:

  • https://github.com/trilinos/Trilinos/blob/develop/cmake/std/atdm/README.md

More specifically, the commands given for with a sems rhel6 environment are provided at:

  • https://github.com/trilinos/Trilinos/blob/develop/cmake/std/atdm/README.md#sems-rhel6-environment

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
Assignee
Assign to
Time tracking