mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Fix two 'use mpi' statements and add a message in CMakeLists.txt
This commit is contained in:
parent
78e4c01dbc
commit
cf74805dbc
3 changed files with 3 additions and 2 deletions
|
|
@ -54,6 +54,7 @@ endif()
|
|||
|
||||
# Check for Fortran 2008 MPI interface
|
||||
if(MPI_ENABLED AND mpif08)
|
||||
message("-- Using Fortran 2008 MPI bindings")
|
||||
add_definitions(-DMPIF08)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
module fixed_source
|
||||
|
||||
#ifdef MPI
|
||||
use mpi
|
||||
use message_passing
|
||||
#endif
|
||||
|
||||
use constants, only: ZERO, MAX_LINE_LEN
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
module trigger
|
||||
|
||||
#ifdef MPI
|
||||
use mpi
|
||||
use message_passing
|
||||
#endif
|
||||
|
||||
use constants
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue