summaryrefslogtreecommitdiffstats
path: root/fortran/test/fflush2.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2001-06-21 14:53:42 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2001-06-21 14:53:42 (GMT)
commitef31e2929dc496a32515a8c11cef8ecce6c746e2 (patch)
tree25d8a46040f85f54948db95a3cf3e493c51d9a5d /fortran/test/fflush2.f90
parentaa08bf12452437589712812d5a8c21fe8a0ed401 (diff)
downloadhdf5-ef31e2929dc496a32515a8c11cef8ecce6c746e2.zip
hdf5-ef31e2929dc496a32515a8c11cef8ecce6c746e2.tar.gz
hdf5-ef31e2929dc496a32515a8c11cef8ecce6c746e2.tar.bz2
[svn-r4026]
Purpose: Windows port Description: Modified code to reflect the changes in the read/write APIs. Platforms tested: Windows 98, Linux, DEC UNIX
Diffstat (limited to 'fortran/test/fflush2.f90')
-rw-r--r--fortran/test/fflush2.f905
1 files changed, 4 insertions, 1 deletions
diff --git a/fortran/test/fflush2.f90 b/fortran/test/fflush2.f90
index a494d63..d7e5053 100644
--- a/fortran/test/fflush2.f90
+++ b/fortran/test/fflush2.f90
@@ -67,6 +67,9 @@
!data buffers
!
INTEGER, DIMENSION(NX,NY) :: data_out
+ INTEGER, DIMENSION(7) :: data_dims
+ data_dims(1) = NX
+ data_dims(2) = NY
!
!Initialize FORTRAN predifined datatypes
@@ -95,7 +98,7 @@
!
!Read the dataset.
!
- CALL h5dread_f(dset_id, dtype_id, data_out, error)
+ CALL h5dread_f(dset_id, dtype_id, data_out, data_dims, error)
CALL check("h5dread_f",error,total_error)
!