Amesos2 test file amesos2/test/adapters/Tpetra_CrsMatrix_Adapter_UnitTests.cpp build failure for ATDM Trilinos CUDA 9.0 builds on 'hansen/'shiller'
Created by: bartlettroscoe
CC: @trilinos/amesos2 (Package Team), @srajama1 (Product Lead), @fryeguy52
Next Action Status
Build error was fixed in merged PR #2876 and the build failure went away and all Amesos2 tests passed in CUDA 9.0 builds on 6/5/2018.
Description
As shown in the query:
the Amesos2 has had a single build failure in both of the CUDA 9.0 builds on 'hansen'/'shiller':
Trilinos-atdm-hansen-shiller-cuda-9.0-debug
Trilinos-atdm-hansen-shiller-cuda-9.0-opt
since this CUDA 9.0 build was first set up (see #2706 (closed)).
The build failure is for the file packages/amesos2/test/adapters/Tpetra_CrsMatrix_Adapter_UnitTests.cpp
and is shown, for example, at:
and shows:
/home/jenkins/hansen/workspace/Trilinos-atdm-hansen-shiller-cuda-9.0-debug/SRC_AND_BUILD/Trilinos/packages/amesos2/test/adapters/Tpetra_CrsMatrix_Adapter_UnitTests.cpp(106): error: member "<unnamed>::test_traits<Scalar>::test_mat [with Scalar=double]" was referenced but not defined
1 error detected in the compilation of "/tmp/tmpxft_00007af7_00000000-4_Tpetra_CrsMatrix_Adapter_UnitTests.cpp4.ii".
This results in the "Not Run" test Amesos2_Tpetra_CrsMatrix_Adapter_UnitTests_MPI_4
as shown, for example, at:
The only other failures in these CUDA 9.0 builds are failures do to the Kokos update described in #2728 which also impact the CUDA 8.0 builds. I fully expect those to go away once those issues are fixed in #2728.
Steps to Reproduce
Following the instructions in:
which is linked to from:
one should be able to figure out how to reproduce this.
But to be specific, the exact instructions to reproduce this build failure are:
-
Log onto 'hansen' (SON) or 'shiller' (SON)
-
Clone the Trilinos repo (pointed to by
$TRILINOS_DIR
below) and get on the 'develop' branch -
Create
<some_build_dir>
and do:$ cd <some_build_dir>/ $ source $TRILINOS_DIR/cmake/std/atdm/load-env.sh cuda-9.0-opt $ cmake \ -GNinja \ -DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/atdm/ATDMDevEnv.cmake \ -DTrilinos_ENABLE_TESTS=ON -DTrilinos_ENABLE_Amesos2=ON \ $TRILINOS_DIR $ make NP=16
That should reproduce the build error.