Fix two 'use mpi' statements and add a message in CMakeLists.txt

This commit is contained in:
Paul Romano 2015-07-06 14:30:29 +07:00
parent 78e4c01dbc
commit cf74805dbc
3 changed files with 3 additions and 2 deletions

View file

@ -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()

View file

@ -1,7 +1,7 @@
module fixed_source
#ifdef MPI
use mpi
use message_passing
#endif
use constants, only: ZERO, MAX_LINE_LEN

View file

@ -1,7 +1,7 @@
module trigger
#ifdef MPI
use mpi
use message_passing
#endif
use constants