diff options
author | Eisuke Kawashima <15070-e-kwsm@users.noreply.gitlab.kitware.com> | 2024-01-19 08:12:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-19 20:30:10 (GMT) |
commit | 5e700411d27ac6544c65c4de36f7ad2e4ec226e0 (patch) | |
tree | 8cbc1adc47300e5b152f3a875ad9b6d5c2d46ea8 /Modules/FindMPI.cmake | |
parent | d07aee97fe16dbac7055fc6d683fc543939c9f71 (diff) | |
download | CMake-5e700411d27ac6544c65c4de36f7ad2e4ec226e0.zip CMake-5e700411d27ac6544c65c4de36f7ad2e4ec226e0.tar.gz CMake-5e700411d27ac6544c65c4de36f7ad2e4ec226e0.tar.bz2 |
FindMPI: add IntelLLVM MPI wrappers
The Intel MPI library now provides `mpiicx`, `mpiicpx`, and `mpiifx`
wrappers, which respectively use `icx`, `icpx`, and `ifx` by default.
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r-- | Modules/FindMPI.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index a25f113..834a3e1 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -301,9 +301,9 @@ if(WIN32) set(_MPI_Intel_Fortran_COMPILER_NAMES mpiifort.bat mpif77.bat mpif90.bat) # Intel MPI compiler names - set(_MPI_IntelLLVM_C_COMPILER_NAMES mpiicc.bat) - set(_MPI_IntelLLVM_CXX_COMPILER_NAMES mpiicpc.bat) - set(_MPI_IntelLLVM_Fortran_COMPILER_NAMES mpiifort.bat mpif77.bat mpif90.bat) + set(_MPI_IntelLLVM_C_COMPILER_NAMES mpiicx.bat mpiicc.bat) + set(_MPI_IntelLLVM_CXX_COMPILER_NAMES mpiicpx.bat mpiicpc.bat) + set(_MPI_IntelLLVM_Fortran_COMPILER_NAMES mpiifx.bat mpiifort.bat mpif77.bat mpif90.bat) # Intel MPI compiler names for MSMPI set(_MPI_MSVC_C_COMPILER_NAMES mpicl.bat) @@ -315,9 +315,9 @@ else() set(_MPI_Intel_Fortran_COMPILER_NAMES mpiifort mpiif95 mpiif90 mpiif77) # Intel compiler names - set(_MPI_IntelLLVM_C_COMPILER_NAMES mpiicc) - set(_MPI_IntelLLVM_CXX_COMPILER_NAMES mpiicpc mpiicxx mpiic++) - set(_MPI_IntelLLVM_Fortran_COMPILER_NAMES mpiifort mpiif95 mpiif90 mpiif77) + set(_MPI_IntelLLVM_C_COMPILER_NAMES mpiicx mpiicc) + set(_MPI_IntelLLVM_CXX_COMPILER_NAMES mpiicpx mpiicpc mpiicxx mpiic++) + set(_MPI_IntelLLVM_Fortran_COMPILER_NAMES mpiifx mpiifort mpiif95 mpiif90 mpiif77) endif() # PGI compiler names |