summaryrefslogtreecommitdiffstats
path: root/HDF5Examples
diff options
context:
space:
mode:
authorChristoph Niethammer <cniethammer@users.noreply.github.com>2024-02-21 20:04:38 (GMT)
committerGitHub <noreply@github.com>2024-02-21 20:04:38 (GMT)
commitf1e8f42b5ae28d11562624738cd92e8c086cadfe (patch)
tree3a9296edd041ff5225f90839cfaee07119c0bde9 /HDF5Examples
parentd4b43e0b438057c004b817750f424e66d2c3770e (diff)
downloadhdf5-f1e8f42b5ae28d11562624738cd92e8c086cadfe.zip
hdf5-f1e8f42b5ae28d11562624738cd92e8c086cadfe.tar.gz
hdf5-f1e8f42b5ae28d11562624738cd92e8c086cadfe.tar.bz2
Replace deprecated Fortran 'include mpif.h' with 'USE mpi' (#4031)
With MPI 4.1 the use of the mpif.h include file has been deprecated. Codes should transition to USE mpi or USE mpi_f08. Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
Diffstat (limited to 'HDF5Examples')
-rw-r--r--HDF5Examples/FORTRAN/H5PAR/ph5_f90_hyperslab_by_col.F902
1 files changed, 1 insertions, 1 deletions
diff --git a/HDF5Examples/FORTRAN/H5PAR/ph5_f90_hyperslab_by_col.F90 b/HDF5Examples/FORTRAN/H5PAR/ph5_f90_hyperslab_by_col.F90
index affb799..c439d63 100644
--- a/HDF5Examples/FORTRAN/H5PAR/ph5_f90_hyperslab_by_col.F90
+++ b/HDF5Examples/FORTRAN/H5PAR/ph5_f90_hyperslab_by_col.F90
@@ -4,10 +4,10 @@
PROGRAM DATASET_BY_COL
USE HDF5 ! This module contains all necessary modules
+ USE mpi
IMPLICIT NONE
- include 'mpif.h'
CHARACTER(LEN=10), PARAMETER :: filename = "sds_col.h5" ! File name
CHARACTER(LEN=8), PARAMETER :: dsetname = "IntArray" ! Dataset name