Replies: 2 comments
-
Dear scivision, This modification works for me. I juast added the following code at line 26:
Thanks, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Tang, FindMPI.cmake looks at |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear author,
Thank you very much for providing so powerful cmake file. I am trying to use it to generate visual studio 2022 project, I have installed the latest Intel oneapi 2024.1 and running the cmake, the following error displayed:
`
Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS)
CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find MPI (missing: MPI_C_FOUND MPI_Fortran_FOUND C Fortran)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.29/Modules/FindMPI.cmake:1837 (find_package_handle_standard_args)
CMakeLists.txt:45 (find_package)
I have set the environment both
I_MPI_ROOTand
MPI_ROOTto
D:\Program Files (x86)\Intel\oneAPI\mpi\latest`could you please help me to take a look at it?
Thanks,
Tang Laoya
Beta Was this translation helpful? Give feedback.
All reactions