Skip to content

Commit

Permalink
Bugfix to the MPI_HAS_MPIIO check.
Browse files Browse the repository at this point in the history
The passing of the defines for the MPI include path lacked
a dollar sign so it was not being expanded as a variable.
Therefore the actual include when compiling was `-IMPIF_H_PATH`.
  • Loading branch information
t-brown committed Jul 10, 2018
1 parent 2f0fb4a commit 66a498e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ if (MPIF_H_PATH)
check_macro (MPI_HAS_MPIIO
NAME TryMPIIO.f90
HINTS ${CMAKE_MODULE_PATH}
DEFINITIONS -I{MPIF_H_PATH}
DEFINITIONS -I${MPIF_H_PATH}
COMMENT "whether MPIIO is supported")
if (${MPI_HAS_MPIIO})
message (STATUS "MPIIO verified and enabled.")
Expand Down

0 comments on commit 66a498e

Please sign in to comment.