ORNL / ORNL/GridKit

Build issue: Clang Compilation Issues

Open
#311 1 comment 0 reactions 1 assignee View on GitHub

@pelesh is already working on this.

Since Apr 2, 2026.

cmake question
Dominant language
C++
Stars
27
Forks
11
Avg merge
3d 8h
Merged PRs (30d)
23

Description

Build error message(s)

Compiling with clang for me gives the following output:

[cmake] CMake Error at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
[cmake]   Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
[cmake] Call Stack (most recent call first):
[cmake]   /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
[cmake]   /usr/local/share/cmake-3.28/Modules/FindOpenMP.cmake:580 (find_package_handle_standard_args)
[cmake]   /usr/local/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
[cmake]   /usr/local/lib/cmake/SuiteSparse_config/SuiteSparse_configConfig.cmake:68 (find_dependency)
[cmake]   /usr/local/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
[cmake]   /usr/local/lib/cmake/KLU/KLUConfig.cmake:109 (find_dependency)
[cmake]   /usr/local/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
[cmake]   /usr/local/lib/cmake/sundials/SUNDIALSConfig.cmake:122 (find_dependency)
[cmake]   CMakeLists.txt:93 (find_package)
GridKit™ version

develop

System and environment details

Running into a previous issue. This pr seems to be similar. Clang version that was tested here is 16.0.6. I also tested with version 20.1.8 and produced the same result.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.