Account for 'ftn' as an MPI wrapper since it is common on Cray systems

This commit is contained in:
Paul Romano 2017-12-01 10:58:52 -06:00
parent a9b831cc91
commit ad0283d016

View file

@ -46,7 +46,7 @@ add_definitions(-DMAX_COORD=${maxcoord})
#===============================================================================
set(MPI_ENABLED FALSE)
if($ENV{FC} MATCHES "mpi[^/]*$")
if($ENV{FC} MATCHES "(mpi[^/]*|ftn)$")
message("-- Detected MPI wrapper: $ENV{FC}")
add_definitions(-DMPI)
set(MPI_ENABLED TRUE)