diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-07-19 07:48:00 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2020-04-17 11:59:58 (GMT) |
commit | 04e4ef5c14a121650497d18d8e63968605a912ed (patch) | |
tree | 5e2d941bbf82b9fe9f52c2b1c5fa990afd98ce11 | |
parent | c5e4f965ce8710b067df403b0f8243e9af65f856 (diff) | |
download | hdf5-04e4ef5c14a121650497d18d8e63968605a912ed.zip hdf5-04e4ef5c14a121650497d18d8e63968605a912ed.tar.gz hdf5-04e4ef5c14a121650497d18d8e63968605a912ed.tar.bz2 |
Parallel Fortran tests now use the MPI module instead of including
mpif.h.
-rw-r--r-- | fortran/testpar/hyper.f90 | 3 | ||||
-rw-r--r-- | fortran/testpar/mdset.f90 | 3 | ||||
-rw-r--r-- | fortran/testpar/ptest.f90 | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/fortran/testpar/hyper.f90 b/fortran/testpar/hyper.f90 index 844ad56..b739db4 100644 --- a/fortran/testpar/hyper.f90 +++ b/fortran/testpar/hyper.f90 @@ -18,9 +18,10 @@ SUBROUTINE hyper(length,do_collective,do_chunk, mpi_size, mpi_rank, nerrors) USE HDF5 + USE MPI USE TH5_MISC + IMPLICIT NONE - INCLUDE 'mpif.h' INTEGER, INTENT(in) :: length ! array length LOGICAL, INTENT(in) :: do_collective ! use collective I/O diff --git a/fortran/testpar/mdset.f90 b/fortran/testpar/mdset.f90 index 70d2939..3de61c3 100644 --- a/fortran/testpar/mdset.f90 +++ b/fortran/testpar/mdset.f90 @@ -18,9 +18,10 @@ SUBROUTINE multiple_dset_write(length, do_collective, do_chunk, mpi_size, mpi_rank, nerrors) USE HDF5 + USE MPI USE TH5_MISC + IMPLICIT NONE - INCLUDE 'mpif.h' INTEGER, INTENT(in) :: length ! array length LOGICAL, INTENT(in) :: do_collective ! use collective I/O diff --git a/fortran/testpar/ptest.f90 b/fortran/testpar/ptest.f90 index 432b443..a399fe9 100644 --- a/fortran/testpar/ptest.f90 +++ b/fortran/testpar/ptest.f90 @@ -16,10 +16,11 @@ !////////////////////////////////////////////////////////// PROGRAM parallel_test - USE hdf5 + USE HDF5 + USE MPI + USE TH5_MISC IMPLICIT NONE - INCLUDE 'mpif.h' INTEGER :: mpierror ! MPI hdferror flag INTEGER :: hdferror ! HDF hdferror flag |