summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2020-04-10 11:02:14 -0400
committerChuck Atkins <chuck.atkins@kitware.com>2020-04-10 12:01:59 -0400
commitcd449c6175c83e8757b8ca3295460ce12919b621 (patch)
tree7fd0b88a0cf6bdfd9d9a1d5b9ed8459aced8bccf
parent4c82f309c59d02899145bc25c0e9efc91a6f64ed (diff)
downloadcmake-cd449c6175c83e8757b8ca3295460ce12919b621.tar.gz
FindMPI: Add the pgi compiler wrapper names used by IBM Spectrum MPI
-rw-r--r--Modules/FindMPI.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake
index d6cd799b3c..42941c9e50 100644
--- a/Modules/FindMPI.cmake
+++ b/Modules/FindMPI.cmake
@@ -298,9 +298,9 @@ else()
endif()
# PGI compiler names
-set(_MPI_PGI_C_COMPILER_NAMES mpipgcc mppgcc)
-set(_MPI_PGI_CXX_COMPILER_NAMES mpipgCC mppgCC)
-set(_MPI_PGI_Fortran_COMPILER_NAMES mpipgf95 mpipgf90 mppgf95 mppgf90 mpipgf77 mppgf77)
+set(_MPI_PGI_C_COMPILER_NAMES mpipgicc mpipgcc mppgcc)
+set(_MPI_PGI_CXX_COMPILER_NAMES mpipgic++ mpipgCC mppgCC)
+set(_MPI_PGI_Fortran_COMPILER_NAMES mpipgifort mpipgf95 mpipgf90 mppgf95 mppgf90 mpipgf77 mppgf77)
# XLC MPI Compiler names
set(_MPI_XL_C_COMPILER_NAMES mpxlc mpxlc_r mpixlc mpixlc_r)