Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Jan 2, 2024
1 parent 01be85b commit ee6077b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
1 change: 0 additions & 1 deletion HDF5Examples/FORTRAN/H5PAR/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ INCLUDE_DIRECTORIES (
${PROJECT_BINARY_DIR}
${HDF5_F90_BINARY_DIR}
${CMAKE_LIBRARY_OUTPUT_DIRECTORY}

)

#-----------------------------------------------------------------------------
Expand Down
8 changes: 6 additions & 2 deletions HDF5Examples/FORTRAN/H5PAR/Fortran_sourcefiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
set (examples
ph5_f90_dataset
ph5_f90_file_create
ph5_f90_filtered_writes_no_sel
ph5_f90_hyperslab_by_row
ph5_f90_hyperslab_by_col
ph5_f90_hyperslab_by_pattern
Expand All @@ -15,4 +14,9 @@ if (HDF5_ENABLE_SUBFILING_VFD)
set (examples $examples
ph5_f90_subfiling
)
endif()
endif()
if (HDF5_VERSION_STRING VERSION_GREATER_EQUAL "1.14.4")
set (examples $examples
ph5_f90_filtered_writes_no_sel
)
endif()
22 changes: 0 additions & 22 deletions HDF5Examples/FORTRAN/H5PAR/ph5_f90_filtered_writes_no_sel.F90
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@
! example parses the HDF5_PARAPREFIX environment variable for a prefix,
! if one is needed.

! An optional include to determine the correct HDF5 version
! for selecting the appropriate HDF5 API parameters. This is
! not part of the HDF5 library and is generally unnecessary.
! This information is now included in "H5config_f.inc" starting
! with version 1.14.4.
#include "h5_version.h"

! An optional include for the configure definitions.
#if H5_VERSION_GE(1, 14, 4)
#include "H5config_f.inc"
#endif

#if defined(H5_HAVE_PARALLEL)

MODULE filter
USE HDF5
USE MPI
Expand Down Expand Up @@ -366,11 +352,3 @@ PROGRAM main
CALL MPI_Finalize(status)

END PROGRAM main

#else

PROGRAM main
WRITE(*,"(A)") "HDF5 not configured with parallel support or parallel filtered writes are disabled!"
END PROGRAM main

#endif

0 comments on commit ee6077b

Please sign in to comment.