GEOS-DEV / thirdPartyLibs

Repository to build the GEOSX third party libraries
3 stars 12 forks source link

Update/hypre chai raja #191

Closed rrsettgast closed 2 years ago

rrsettgast commented 2 years ago

Updates chai/umpire/raja to 2022.03.0, and hypre to current master to allow for interface updates to umpire.

victorapm commented 2 years ago

This branch compiles fine to me, but I get the following error when trying to compile geosx:

-- RAJA_DIR = /p/gpfs1/vicmagri/projects/geosx-tpl/install/lassen/nvcc@11.2.0-clang@ibm-12.0.1-release/raja
CMake Error at /usr/tce/packages/cmake/cmake-3.21.1/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  Found package configuration file:

    /p/gpfs1/vicmagri/projects/geosx-tpl/install/lassen/nvcc@11.2.0-clang@ibm-12.0.1-release/raja/lib/cmake/camp/campConfig.cmake

  but it set camp_FOUND to FALSE so package "camp" is considered to be NOT
  FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing:
  RAJA::openmp RAJA::cuda_runtime

Call Stack (most recent call first):
  /p/gpfs1/vicmagri/projects/geosx-tpl/install/lassen/nvcc@11.2.0-clang@ibm-12.0.1-release/raja/lib/cmake/raja/raja-config.cmake:61 (find_dependency)
  cmake/thirdparty/SetupGeosxThirdParty.cmake:214 (find_package)
  cmake/CMakeBasics.cmake:49 (include)
  CMakeLists.txt:41 (include)

-- Configuring incomplete, errors occurred!

The command line used to build RAJA has OpenMP and CUDA enabled:

cmd='/usr/tce/packages/cmake/cmake-3.14.5/bin/cmake;-D;CMAKE_C_COMPILER=/usr/tce/packages/clang/clang-ibm-12.0.1/bin/clang;-D;CMAKE_CXX_COMPILER:PATH=/usr/tce/packages/clang/clang-ibm-12.0.1/bin/clang++;-D;CMAKE_CXX_FLAGS:PATH=     -Wall -Wextra ;-D;CMAKE_BUILD_TYPE:STRING=Release;-D;CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG -mcpu=powerpc64le -mtune=powerpc64le;-D;CMAKE_VERBOSE_MAKEFILE:BOOL=BOOL;OFF;-D;ENABLE_CUDA:BOOL=ON;-D;CMAKE_CUDA_COMPILER=/usr/tce/packages/cuda/cuda-11.2.0/bin/nvcc;-D;CUDA_TOOLKIT_ROOT_DIR=/usr/tce/packages/cuda/cuda-11.2.0;-D;CUDA_ARCH:CACHE=sm_70;-D;CMAKE_CUDA_FLAGS:STRING=;-D;ENABLE_TESTS:BOOL=OFF;-D;ENABLE_EXAMPLES:BOOL=OFF;-D;ENABLE_OPENMP:BOOL=ON;-D;CMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>;-D;BUILD_SHARED_LIBS=OFF;-D;CMAKE_POSITION_INDEPENDENT_CODE=TRUE;-GUnix Makefiles;<SOURCE_DIR><SOURCE_SUBDIR>'

Any thoughts on how to solve this?

rrsettgast commented 2 years ago

@TotoGaz Can you take a look at the test failure, and maybe update cmake in the dockerfile?