Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Flex build failure on mac arm64 #3430

Closed
zhanglei1949 opened this issue Dec 14, 2023 · 0 comments · Fixed by #3429
Closed

[BUG] Flex build failure on mac arm64 #3430

zhanglei1949 opened this issue Dec 14, 2023 · 0 comments · Fixed by #3429

Comments

@zhanglei1949
Copy link
Collaborator

cd flex && mkdir build && cd build
cmake .. -DBUILD_DOC=OFF

Error:

-- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS)
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find MPI (missing: MPI_CXX_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindMPI.cmake:1688 (find_package_handle_standard_args)
  CMakeLists.txt:47 (find_package)
uname -m
# aarch64

openmpi is installed under /usr/lib/aarch64-linux-gnu/

zhanglei1949 added a commit that referenced this issue Dec 14, 2023
Remove one gcc option `-mno-avx512f` for flex's CMakeLists.txt. Which
cause `find_package(MPI)` error on macos arm arch.

Fix #3430
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant