EpetraExt cuda-9.2 build on white/ride broken starting 9/6/2018
Created by: bartlettroscoe
CC: @trilinos/epetraext, @kddevin (Trilinos Data Services Product Lead), @Sbte, @mhoemmen
Next Action Status
The merge of PR #3522 on 9/27/2018 caused this build error go away on 9/28/2018.
Description
As shown in this CDash query, the build of EpetraExt was broken in the build Trilinos-atdm-white-ride-cuda-9.2-debug-pt
(that we are trying to get cleaned for a possible Trilinos PR build).
The build error occurs when building packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp
and and shows, shown for example here:
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp(64): error: identifier "HDF5" is undefined
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp(71): error: identifier "HDF5" is undefined
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp(89): error: identifier "HDF5" is undefined
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp(93): error: identifier "H5T_NATIVE_INT" is undefined
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp(96): error: identifier "HDF5" is undefined
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp(115): error: identifier "HDF5" is undefined
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp(124): error: identifier "HDF5" is undefined 7 errors detected in the compilation of "/tmp/tmpxft_0001e190_00000000-6_EpetraExt_HDF5_UnitTest.cpp1.ii".
Looking at the new commits pulled that day at:
shows the the likely commits causing this are:
aec9db9: EpetraExt: Add missing const to HDF5 Write method
Author: Sven Baars <s.baars@rug.nl>
Date: Mon Sep 3 12:56:20 2018 +0200
M packages/epetraext/src/inout/EpetraExt_HDF5.cpp
M packages/epetraext/src/inout/EpetraExt_HDF5.h
M packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp
fac4dbe: EpetraExt: Recursively check for existing HDF5 groups
Author: Sven Baars <s.baars@rug.nl>
Date: Mon Sep 3 09:55:22 2018 +0200
M packages/epetraext/src/inout/EpetraExt_HDF5.cpp
M packages/epetraext/src/inout/EpetraExt_HDF5.h
M packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp
23fa92e: EpetraExt: Add HDF5 test file
Author: Sven Baars <s.baars@rug.nl>
Date: Tue Sep 4 10:15:18 2018 +0200
M packages/epetraext/test/inout/CMakeLists.txt
A packages/epetraext/test/inout/EpetraExt_HDF5_UnitTest.cpp
from the PR #3381 approved by @mhoemmen and merged by the trilinos-autotester on 9/5/2018.
Steps to Reproduce
One can reproduce this build failure on 'white' or 'ride' by cloning the Trilinos GitHub repo, checking out the 'develop' branch and then setting up a build build directory and doing:
$ cd <some_build_dir>/
$ source $TRILINOS_DIR/cmake/std/atdm/load-env.sh cuda-9.2-debug
$ cmake \
-GNinja \
-DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/atdm/ATDMDevEnvSettings.cmake \
-DTrilinos_ENABLE_TESTS=ON -DTrilinos_ENABLE_EpetraExt=ON \
$TRILINOS_DIR
$ make NP=16