From ad0283d0166e5f9779dcfc1c65d8e4f2a7236e52 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Fri, 1 Dec 2017 10:58:52 -0600 Subject: [PATCH] Account for 'ftn' as an MPI wrapper since it is common on Cray systems --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dfd9221cec..791e31c44a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)