Hello all,
I built Trilinos from source on a RedHat 7.9 enterprise server and then tried to building deallii with Trilinos support but I keep getting errors like this one below:
-- Enabled Kokkos devices: SERIAL
-- Found EPETRA_CONFIG_H
-- TRILINOS_LIBRARY_ROL::all_libs not found! The call was:
-- FIND_LIBRARY(TRILINOS_LIBRARY_ROL::all_libs NAMES ROL::all_libs HINTS NO_DEFAULT_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH)
-- TRILINOS_LIBRARY_Tempus::all_libs not found! The call was:
-- FIND_LIBRARY(TRILINOS_LIBRARY_Tempus::all_libs NAMES Tempus::all_libs HINTS NO_DEFAULT_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH)
... (similar errors)
_CMAKE_FIND_ROOT_PATH)
-- TRILINOS_LIBRARY_KokkosCore::all_libs not found! The call was:
-- FIND_LIBRARY(TRILINOS_LIBRARY_KokkosCore::all_libs NAMES KokkosCore::all_libs HINTS NO_DEFAULT_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH)
-- TRILINOS_LIBRARY_Gtest::all_libs not found! The call was:
-- FIND_LIBRARY(TRILINOS_LIBRARY_Gtest::all_libs NAMES Gtest::all_libs HINTS NO_DEFAULT_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH)
-- TRILINOS_VERSION: 14.1
-- TRILINOS_LIBRARIES: *** Required variable "TRILINOS_LIBRARY_ROL::all_libs" set to NOTFOUND ***
-- TRILINOS_LIBRARIES: *** Required variable "TRILINOS_LIBRARY_Tempus::all_libs" set to NOTFOUND ***
-- TRILINOS_LIBRARIES: *** Required variable "TRILINOS_LIBRARY_MueLu::all_libs" set to NOTFOUND ***
But I do have those libraries built and installed in the default location
$ ls -l /usr/local/lib/libkokkosalgorithms.so*
lrwxrwxrwx. 1 root root 25 Mar 18 12:24 /usr/local/lib/libkokkosalgorithms.so -> libkokkosalgorithms.so.14
lrwxrwxrwx. 1 root root 27 Mar 18 12:24 /usr/local/lib/libkokkosalgorithms.so.14 -> libkokkosalgorithms.so.14.1
-rwxr-xr-x. 1 root root 15288 Mar 18 12:02 /usr/local/lib/libkokkosalgorithms.so.14.1
$ ls -l /usr/local/lib/librol*
lrwxrwxrwx. 1 root root 12 Mar 18 12:24 /usr/local/lib/librol.so -> librol.so.14
lrwxrwxrwx. 1 root root 14 Mar 18 12:24 /usr/local/lib/librol.so.14 -> librol.so.14.1
-rwxr-xr-x. 1 root root 19560 Mar 18 12:24 /usr/local/lib/librol.so.14.1
$ ls -l /usr/local/lib/*empus*
lrwxrwxrwx. 1 root root 15 Mar 18 12:24 /usr/local/lib/libtempus.so -> libtempus.so.14
lrwxrwxrwx. 1 root root 17 Mar 18 12:24 /usr/local/lib/libtempus.so.14 -> libtempus.so.14.1
-rwxr-xr-x. 1 root root 7116480 Mar 18 12:23 /usr/local/lib/libtempus.so.14.1