-
Notifications
You must be signed in to change notification settings - Fork 122
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
Incompatibility with Intel Module in UMich Great Lakes cluster #373
Comments
The following steps seem to fix the compilation error:
$ cmake -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx .
# ========================================================= # Ensure C++17 is used universally
target_link_libraries(main_debug ${CMAKE_SOURCE_DIR}/../../libprisms-pf-debug.a stdc++fs) |
We need to make sure that the changes to CMakeLists.txt do not affect the compilation with GNU or Clang compilers. |
I had a similar issue on my laptop that I could hotfix by using |
This loosely relates to an issue I had when building PRISMS-PF on Ubuntu 24.04. I had to specify mpi compilers in
|
@david-montiel-t Can you post the CMakeCache from the compilation when you add those flags. |
@landinjm, see attached. It is the CMakeCache.txt file generated when compiling the code library. |
New versions of intel compilers that adhere to C++17 should include std::filesystem (std++fs) like intel-oneapi 2025.0.4. I'm not a fan of adding that to the library linker. I think the user could just specify to include that library or use a newer version of the intel compiler. |
When loading the Intel module in the University of Michigan Great Lakes cluster, compiling of the core library with "cmake ." defaults to GNU 8.5.0 instead. This leads to multiple errors of the type:
c++: error: unrecognized command line option ''
The text was updated successfully, but these errors were encountered: