Skip to content

Commit 8247750

Browse files
author
Damian Rouson
committed
Add COMPILER_PROVIDES_MPI flag for use with Cray Compiler Environment.
1 parent 556ec20 commit 8247750

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ elseif ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Cray" )
3535
# This applies to CCE 8.4 beta or earlier
3636
add_definitions(-DCOMPILER_LACKS_C_PTRDIFF_T)
3737
add_definitions(-DCOMPILER_LACKS_C_SIZEOF_ASSUMED_RANK)
38+
add_definitions(-DCOMPILER_PROVIDES_MPI)
3839
elseif ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "PGI" )
3940
set(portland_group_compiler true)
4041
message(WARNING

0 commit comments

Comments
 (0)