summaryrefslogtreecommitdiffstats
path: root/m4
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 /m4
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 'm4')
-rw-r--r--m4/aclocal_fc.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/aclocal_fc.f90 b/m4/aclocal_fc.f90
index 68a8f1b..245da9b 100644
--- a/m4/aclocal_fc.f90
+++ b/m4/aclocal_fc.f90
@@ -154,7 +154,7 @@ END PROGRAM FC_AVAIL_KINDS
!---- END ----- Determine the available KINDs for REALs and INTEGERs
PROGRAM FC_MPI_CHECK
- INCLUDE 'mpif.h'
+ USE mpi
INTEGER :: comm, amode, info, fh, ierror
CHARACTER(LEN=1) :: filename
CALL MPI_File_open( comm, filename, amode, info, fh, ierror)