From c2134341a7cac467d83e2dcd86c8e1dec49ae5de Mon Sep 17 00:00:00 2001 From: Armagetron Date: Thu, 1 Dec 2016 18:04:26 +0100 Subject: [PATCH] Add Cray Compiler names to FindMPI script --- CMakeScripts/FindMPI.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeScripts/FindMPI.cmake b/CMakeScripts/FindMPI.cmake index 329299410..775457e18 100644 --- a/CMakeScripts/FindMPI.cmake +++ b/CMakeScripts/FindMPI.cmake @@ -104,11 +104,11 @@ include(GetPrerequisites) # Start out with the generic MPI compiler names, as these are most commonly used. set(_MPI_C_COMPILER_NAMES mpicc_r mpcc_r - mpicc mpcc) + mpicc mpcc cc) set(_MPI_CXX_COMPILER_NAMES mpicxx_r mpiCC_r mpic++_r mpcxx_r mpCC_r mpc++_r - mpicxx mpiCC mpic++ mpcxx mpCC mpc++) + mpicxx mpiCC mpic++ mpcxx mpCC mpc++ CC) set(_MPI_Fortran_COMPILER_NAMES mpif95_r mpf95_r mpif90_r mpf90_r mpif77_r mpf77_r - mpif95 mpf95 mpif90 mpf90 mpif77 mpf77) + mpif95 mpf95 mpif90 mpf90 mpif77 mpf77 ftn) # GNU compiler names set(_MPI_GNU_C_COMPILER_NAMES mpigcc_r mpgcc_r