summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-08-07 13:55:23 (GMT)
committerGitHub <noreply@github.com>2021-08-07 13:55:23 (GMT)
commitacb186f6e5f0ac3e5bfb9501e3381c1968489a59 (patch)
tree4b9cec9203af7b255294436cf81c6ef31c4ac436
parent5dabec4cf6b97793e3af6df3b6a3953394bbf27d (diff)
downloadhdf5-acb186f6e5f0ac3e5bfb9501e3381c1968489a59.zip
hdf5-acb186f6e5f0ac3e5bfb9501e3381c1968489a59.tar.gz
hdf5-acb186f6e5f0ac3e5bfb9501e3381c1968489a59.tar.bz2
Add parallel version of h5pfc script (#881)
-rw-r--r--fortran/src/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index e59a829..316d3c7 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -582,4 +582,17 @@ if (NOT WIN32 AND NOT MINGW)
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
COMPONENT fortlibraries
)
+ if (HDF5_ENABLE_PARALLEL AND MPI_Fortran_FOUND)
+ configure_file (
+ ${HDF_RESOURCES_DIR}/libh5cc.in
+ ${HDF5_BINARY_DIR}/CMakeFiles/h5pfc
+ @ONLY
+ )
+ install (
+ FILES ${HDF5_BINARY_DIR}/CMakeFiles/h5pfc
+ DESTINATION ${HDF5_INSTALL_BIN_DIR}
+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ COMPONENT fortlibraries
+ )
+ endif ()
endif ()