# \#comp:cray

**URL:** https://discourse.cmake.org/tag/comp-cray/22.md

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

---

## [HPE-Cray environment and OpenMP linking issue](https://discourse.cmake.org/t/hpe-cray-environment-and-openmp-linking-issue/7420)

<div class="topic-metadata">

**Author:** [@etiennemlb](https://discourse.cmake.org/u/etiennemlb)\
**Replies:** 1\
**Last updated:** [February 8, 2023, 5:14pm UTC](https://discourse.cmake.org/t/hpe-cray-environment-and-openmp-linking-issue/7420 "2023-02-08T17:14:43Z")

</div>

I use CMake 3.20.2, CPE/22/11 (cce/15.0.2) and ROCm 5.2.3. Assuming the following CMake script: cmake\_minimum\_required(VERSION 3.20) project("test" CXX) find\_package(OpenMP REQUIRED) add\_executable(test\_executable test…
