LLNL / serac

Serac is a high order nonlinear thermomechanical simulation code
BSD 3-Clause "New" or "Revised" License
173 stars 30 forks source link

codevelop build failure when configuring CMake #1131

Open samuelpmishLLNL opened 1 month ago

samuelpmishLLNL commented 1 month ago

I ran into a segfault in an mfem call, so I switched "SERAC_CODEVELOP=ON" and reconfigured serac in Debug mode to track down the issue, but CMake seems to be failing in the configuration process with the following error message:

[cmake] -- Looking for HYPRE ...
[cmake] --    in HYPRE_DIR = /home/sam/code/serac_libs_5_7_2024/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-12.3.0/hypre-2.26.0-ncfa2miwza7t7a4gadov6hyxi2z24akx
[cmake] -- Performing Test HYPRE_USING_CUDA
[cmake] -- Performing Test HYPRE_USING_CUDA - Failed
[cmake] -- Performing Test HYPRE_USING_HIP
[cmake] -- Performing Test HYPRE_USING_HIP - Failed
[cmake] -- Found HYPRE: /home/sam/code/serac_libs_5_7_2024/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-12.3.0/hypre-2.26.0-ncfa2miwza7t7a4gadov6hyxi2z24akx/lib/libHYPRE.a  
[cmake] -- HYPRE_INCLUDE_DIRS=/home/sam/code/serac_libs_5_7_2024/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-12.3.0/hypre-2.26.0-ncfa2miwza7t7a4gadov6hyxi2z24akx/include
[cmake] CMake Error at mfem/config/cmake/modules/FindHYPRE.cmake:74 (message):
[cmake]   Unable to determine HYPRE version.
[cmake] Call Stack (most recent call first):
[cmake]   mfem/CMakeLists.txt:268 (find_package)

My submodules are up to date, and my TPLs were built on May 7th.

samuelpmishLLNL commented 1 month ago

on develop I also get the error message

[cmake] CMake Error at /home/sam/code/serac_libs_5_7_2024/spack/opt/spack/linux-ubuntu22.04-skylake/gcc-12.3.0/conduit-0.9.1-fdle5ykhzyve3ltgg4kyqqieenipeamf/lib/cmake/conduit/conduit_setup_deps.cmake:78 (find_package):
[cmake]   Could not find a package configuration file provided by "caliper" with any
[cmake]   of the following names:
[cmake] 
[cmake]     caliperConfig.cmake
[cmake]     caliper-config.cmake
[cmake] 
[cmake]   Add the installation prefix of "caliper" to CMAKE_PREFIX_PATH or set
[cmake]   "caliper_DIR" to a directory containing one of the above files.  If
[cmake]   "caliper" provides a separate development package or SDK, be sure it has
[cmake]   been installed.

with CODEVELOP on