You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Efforts are underway to build spack-stack and the models that use spack-stack with LLVM, latest version 19.1.4. The latest LLVM flang compiler (flang-new in the installation) supposedly is the most robust Fortran compiler in terms of Fortran 2018 and 2023 standard implementations. For [email protected], I get a number of build errors.
First, related to OpenMP (this may not be an ip problem, but a problem with the LLVM setup in spack / the spack-stack compiler config, but I want to mention it here). See below for the more important issue.
-- The C compiler identification is Clang 19.1.4
-- The Fortran compiler identification is LLVMFlang 19.1.4
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/dom/prod/spack-stack-20241208/spack/lib/spack/env/clang/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /home/dom/prod/spack-stack-20241208/spack/lib/spack/env/clang/flang - skipped
-- Library kinds that will be build: 4;d;8
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenMP_Fortran (missing: OpenMP_Fortran_FLAGS
OpenMP_Fortran_LIB_NAMES)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindOpenMP.cmake:577 (find_package_handle_standard_args)
CMakeLists.txt:49 (find_package)
-- Configuring incomplete, errors occurred!
==> Error: ProcessError: Command exited with status 1:
'/usr/bin/cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/home/dom/prod/spack-stack-20241208/envs/ne-clang-19.1.4/install/clang/19.1.4/ip-5.1.0-tjxba2z' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON' '-DCMAKE_INSTALL_RPATH:STRING=/home/dom/prod/spack-stack-20241208/envs/ne-clang-19.1.4/install/clang/19.1.4/ip-5.1.0-tjxba2z/lib;/home/dom/prod/spack-stack-20241208/envs/ne-clang-19.1.4/install/clang/19.1.4/ip-5.1.0-tjxba2z/lib64' '-DCMAKE_PREFIX_PATH:STRING=/home/dom/prod/spack-stack-20241208/envs/ne-clang-19.1.4/install/clang/19.1.4/openblas-0.3.28-xyxhfho;/home/dom/prod/spack-stack-20241208/envs/ne-clang-19.1.4/install/clang/19.1.4/gmake-4.2.1-biq3xx4' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_POLICY_DEFAULT_CMP0090:STRING=NEW' '-DCMAKE_FIND_USE_PACKAGE_REGISTRY:BOOL=OFF' '-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON' '-DOPENMP:BOOL=ON' '-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON' '-DBUILD_TESTING:BOOL=OFF' '-DBUILD_SHARED_LIBS:BOOL=OFF' '-DBUILD_4:BOOL=ON' '-DBUILD_D:BOOL=ON' '-DBUILD_8:BOOL=ON' '-DBUILD_DEPRECATED:BOOL=OFF' '-DBLA_VENDOR:STRING=OpenBLAS' '/home/dom/prod/spack-stack-20241208/cache/build_stage/spack-stage-ip-5.1.0-tjxba2zroualxeksqgradgrqneogfpju/spack-src'
After turning off the openmp variant for ip, I get this error during the build phase.
Efforts are underway to build spack-stack and the models that use spack-stack with LLVM, latest version 19.1.4. The latest LLVM flang compiler (
flang-new
in the installation) supposedly is the most robust Fortran compiler in terms of Fortran 2018 and 2023 standard implementations. For [email protected], I get a number of build errors.First, related to OpenMP (this may not be an ip problem, but a problem with the LLVM setup in spack / the spack-stack compiler config, but I want to mention it here). See below for the more important issue.
openmp
variant forip
, I get this error during the build phase.Worth noting: good old
[email protected]
builds fine with[email protected]
.The text was updated successfully, but these errors were encountered: