TriKota: Build errors with Dakota 6.8 and newer
Created by: briadam
@trilinos/trikota
Expectations
Trilinos should work when TriKota is enabled with Dakota 6.8 and newer.
Current Behavior
Build fails due to Dakota not being able to find ROL headers. (Dakota now has an optional dependence on ROL)
Motivation and Context
Trying to verify that recent changes in Dakota will not break TriKota users of Dakota.
Definition of Done
Enabling TriKota should build and test with Dakota 6.8 or newer.
Possible Solution
Ideally, want to allow TriKota/Dakota to use Trilinos ROL, however, this results in a circular dependency because ROL has an optional dependence on TriKota. For now, recommend workaround where Dakota's ROL is disabled when building under TriKota.
Steps to Reproduce
Clone Trilinos, checkout devel, place Dakota in trilinos/packages/TriKota/Dakota. Configure Trilinos with TriKota enabled, get build error at make time.
Your Environment
- Relevant repo SHA1s: Trilinos master at 4f15e6fb
- Relevant configure flags or configure script:
cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=../install \
-DBUILD_SHARED_LIBS:BOOL=TRUE \
-DTrilinos_ENABLE_TESTS:BOOL=ON \
-DTrilinos_ENABLE_Teuchos:BOOL=ON \
-DTrilinos_ENABLE_ROL:BOOL=ON \
-DTrilinos_ENABLE_TriKota:BOOL=ON \
-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-DTrilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=OFF \
-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-DTrilinos_ENABLE_COMPLEX_DOUBLE:BOOL=ON \
../source
- Operating system and version: RHEL 7.6
- Compiler and TPL versions: Default RHEL7 toolchain (gcc-4.8.5) and TPLs