Unused Tpetra var warning in header breaking SPARC Trilinos Integration builds with -Werror
Created by: bartlettroscoe
CC: @trilinos/tpetra, @kddevin (Trilinos Data Services Product Lead), @bartlettroscoe, @fryeguy52, @mhoemmen
Next Action Status
Description
Recently Tpetra was updated to add a new unused var warning:
.../Tpetra_Details_StaticView.hpp:168:9: error: unused type alias 'host_device_type' [-Werror,-Wunused-local-typedef]
This is bringing down the SPARC Trilinos Integration builds for Clang and GCC due to the SPARC setting -Werror
in those builds. Therefore, we get no build or test results in those builds due to this.
Current Status on CDash
The current status can only be seen in the SPARC Trilinos Integration builds shown over the last few days here.
Steps to Reproduce
Instructions to reproduce builds are at:
More specifically, the commands given for the system 'cee-rhel6' are provided at:
The exact commands to reproduce this warning should (hopefully) be:
$ cd <some_build_dir>/
$ source $TRILINOS_DIR/cmake/std/atdm/load-env.sh \
Trilinos-atdm-cee-rhel6_clang-5.0.1_openmpi-1.10.2_serial_static_opt
$ cmake \
-GNinja \
-DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/atdm/ATDMDevEnv.cmake \
-DTrilinos_ENABLE_TESTS=ON -DTrilinos_ENABLE_Tpetra=ON \
$TRILINOS_DIR
$ make NP=16