I can't build Root Digger on MacBook Pro M1 2020 macOS 13.2.1
Opened this issue · 1 comments
Hi. I am trying to install Root Digger. I couldn't get it with CMake or Docker. What do you recommend trying?
(base) cristianriquelme@Cristians-MacBook-Pro ~ % cd root_digger
(base) cristianriquelme@Cristians-MacBook-Pro root_digger % make
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
-- SSE SIMD not supported -> disabling
-- AVX SIMD not supported -> disabling
-- AVX2 SIMD not supported -> disabling
-- Build type: Release
-- Building coraxlib as a static library.
-- Building documentation: OFF
-- Building tests: OFF
-- Building benchmarks: OFF
-- Building difficutly prediction: OFF
-- Enable SSE SIMD kernels: Off
-- Enable AVX SIMD kernels: Off
-- Enable AVX2 SIMD kernels: Off
Non-rev enabled
-- A cache variable, namely LAPACKE_DIR, has been set to specify the install directory of LAPACKE
-- Looking for LAPACKE_dgeqrf
-- Looking for LAPACKE_dgeqrf - not found
-- Looking for lapacke : test with lapack fails
-- Looking for lapacke -- lapacke.h not found
-- Looking for lapacke -- lib lapacke not found
CMake Error at /opt/homebrew/Cellar/cmake/3.25.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find LAPACKE (missing: LAPACKE_LIBRARIES LAPACKE_WORKS)
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.25.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
lib/coraxlib/cmake/FindLAPACKE.cmake:410 (find_package_handle_standard_args)
lib/coraxlib/src/corax/CMakeLists.txt:57 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/cristianriquelme/root_digger/build/CMakeFiles/CMakeOutput.log".
See also "/Users/cristianriquelme/root_digger/build/CMakeFiles/CMakeError.log".
make: *** [release] Error 1
Attached files:
Sorry for the late reply. I think this is a bit of a problem in general. I don't have easy access to an M1 to test on, and the core library doesn't (officially) support the M1 chip.
However, your specific problem with building seems to be that you are missing the LAPACKE (notice the E) library. You are not alone, and this has been a constant problem. My current plan is to remove LAPACKE as a dependency, which should fix this issue, but I am unfortunately super busy at the moment. I don't think I will get to it soon, sorry.
The best I can say is try to install LAPACKE, but this seems to be quite difficult on MacOS in general.