From e6dee2a4bd054b0826e38ff81440d5c1e80069bb Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 1 Apr 2024 12:11:32 -0400 Subject: FindMPI: Fix finding IntelLLVM wrappers on Windows In commit 5e700411d2 (FindMPI: add IntelLLVM MPI wrappers, 2024-01-19, v3.29.0-rc1~92^2) we added `mpiicpx.bat` for C++ on Windows, but that is a GNU-like front-end that we do not yet support. Use `mpiicx.bat` for both C and C++ on Windows, just as we use `icx` to compile both. Fixes: #25807 --- Modules/FindMPI.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 834a3e1..7aa371a 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -302,7 +302,7 @@ if(WIN32) # Intel MPI compiler names set(_MPI_IntelLLVM_C_COMPILER_NAMES mpiicx.bat mpiicc.bat) - set(_MPI_IntelLLVM_CXX_COMPILER_NAMES mpiicpx.bat mpiicpc.bat) + set(_MPI_IntelLLVM_CXX_COMPILER_NAMES mpiicx.bat mpiicpc.bat) # Not GNU-like mpiicpx.bat set(_MPI_IntelLLVM_Fortran_COMPILER_NAMES mpiifx.bat mpiifort.bat mpif77.bat mpif90.bat) # Intel MPI compiler names for MSMPI -- cgit v0.12