mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Account for 'ftn' as an MPI wrapper since it is common on Cray systems
This commit is contained in:
parent
a9b831cc91
commit
ad0283d016
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue