ROL build failure in new CUDA 9.2 build on 'white'
Created by: bartlettroscoe
CC: @trilinos/rol, @fryeguy52, @rppawlo (Trilinos Nonlinear Algorithms Product Lead)
Next Action Status
PR #3297 merged on 8/14/2018 which fixed the build error on 8/15/2018
Description
The source file packages/rol/example/PDE-OPT/TEST/test_06.cpp
fails to compile in the new Trilinos-atdm-white-ride-cuda-9.2-debug-pt
on 'white' as shown here which shows the build failure:
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/rol/example/PDE-OPT/TEST/../TOOLS/template_tools.hpp:113:144: error: expansion pattern ‘Index’ contains no argument packs
template<class Container,class Index=index_t<Container>>
^
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/rol/example/PDE-OPT/TEST/../TOOLS/template_tools.hpp:113:147: error: template argument 4 is invalid
template<class Container,class Index=index_t<Container>>
^
/home/jenkins/white/workspace/Trilinos-atdm-white-ride-cuda-9.2-debug-pt/SRC_AND_BUILD/Trilinos/packages/rol/example/PDE-OPT/TEST/../TOOLS/template_tools.hpp:113:180: error: template argument 1 is invalid
template<class Container,class Index=index_t<Container>>
This is the only build failure for this new build as shown here.
It is important to get this fixed pretty quickly since ROL is used in that Trilinos build for SPARC and we will be adding ROL to all of the ATDM Trilinos builds shortly (see TRIL-212).
FYI: Once this build error is fixed, a new issue will be submitted for the timing-out ROL tests shown here.
Steps to Reproduce
Instructions are at:
Specific instructions for 'white' are at:
Once Trilinos is cloned on 'white' and the 'develop' branch is checked out, one should be able to reproduce using the commands:
$ 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/ATDMDevEnv.cmake \
-DTrilinos_ENABLE_TESTS=ON -DTrilinos_ENABLE_ROL=ON \
$TRILINOS_DIR
$ make NP=16