Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated Fortran 'include mpif.h' with 'USE mpi' #4031

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion HDF5Examples/FORTRAN/H5PAR/ph5_f90_hyperslab_by_col.F90
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion m4/aclocal_fc.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 1 addition & 3 deletions release_docs/INSTALL_parallel
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,9 @@ main(int ac, char **av)

PROGRAM MPIOEXAMPLE

! USE MPI
USE mpi

IMPLICIT NONE

INCLUDE 'mpif.h'

CHARACTER(LEN=80), PARAMETER :: filename = "filef.h5" ! File name
INTEGER :: ierror ! Error flag
Expand Down
Loading