diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2001-06-21 14:53:42 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2001-06-21 14:53:42 (GMT) |
commit | ef31e2929dc496a32515a8c11cef8ecce6c746e2 (patch) | |
tree | 25d8a46040f85f54948db95a3cf3e493c51d9a5d /fortran/test/tH5G.f90 | |
parent | aa08bf12452437589712812d5a8c21fe8a0ed401 (diff) | |
download | hdf5-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/tH5G.f90')
-rw-r--r-- | fortran/test/tH5G.f90 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fortran/test/tH5G.f90 b/fortran/test/tH5G.f90 index 2ec6435..5486bb8 100644 --- a/fortran/test/tH5G.f90 +++ b/fortran/test/tH5G.f90 @@ -41,6 +41,7 @@ CHARACTER*100 :: commentout !comment to the file INTEGER :: nmembers INTEGER :: obj_type + INTEGER, DIMENSION(7) :: data_dims ! ! Create the file. ! @@ -74,7 +75,8 @@ ! ! Write data_in to dataset1 ! - CALL h5dwrite_f(dset1_id, H5T_NATIVE_INTEGER, dset1_data, error) + data_dims(1) = 1 + CALL h5dwrite_f(dset1_id, H5T_NATIVE_INTEGER, dset1_data, data_dims, error) CALL check("h5dwrite_f",error,total_error) ! @@ -87,7 +89,7 @@ ! ! Write data_in to dataset2 ! - CALL h5dwrite_f(dset2_id, H5T_NATIVE_INTEGER, dset2_data, error) + CALL h5dwrite_f(dset2_id, H5T_NATIVE_INTEGER, dset2_data, data_dims, error) CALL check("h5dwrite_f",error,total_error) ! |