diff options
author | Christoph Niethammer <cniethammer@users.noreply.github.com> | 2024-02-21 20:04:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 20:04:38 (GMT) |
commit | f1e8f42b5ae28d11562624738cd92e8c086cadfe (patch) | |
tree | 3a9296edd041ff5225f90839cfaee07119c0bde9 /m4 | |
parent | d4b43e0b438057c004b817750f424e66d2c3770e (diff) | |
download | hdf5-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.f90 | 2 |
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) |