Skip to content

Commit

Permalink
Small changes for mpi support
Browse files Browse the repository at this point in the history
  • Loading branch information
william-dawson committed Aug 30, 2018
1 parent 613dbe1 commit 20c1718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/Fortran/ErrorModule.f90
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ RECURSIVE SUBROUTINE PrintError(this)
!! Parameters
TYPE(Error_t), INTENT(in) :: this
!! Local Data
CHARACTER(len=80) :: error_string
CHARACTER(len=MPI_MAX_ERROR_STRING) :: error_string
INTEGER :: error_string_len
INTEGER :: error_string_error
TYPE(Error_t) :: temp_error
Expand Down
4 changes: 1 addition & 3 deletions Source/Fortran/NTMPIModule.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
!> This module wraps the MPI include statement because on certain platforms
!! just writing "USE MPI" does not work.
MODULE NTMPIModule
#if USE_MPIF08
USE MPI_F08
#elif USE_MPIH
#if USE_MPIH
include "mpif.h"
#else
USE MPI
Expand Down

0 comments on commit 20c1718

Please sign in to comment.