1 integer(hsize_t) :: array_dims(rank)
2 integer(hid_t) :: dataset_id
3 integer(hid_t) :: dataspace_id
5 array_dims = int(shape(array), hsize_t)
8 call h5screate_simple_f(rank, array_dims, dataspace_id, error)
9 sll_assert_always(error == 0)
12 call h5dcreate_f(handle%file_id, dsetname, datatype, dataspace_id, &
14 sll_assert_always(error == 0)
17 call h5dwrite_f(dataset_id, datatype, array, array_dims, error)
18 sll_assert_always(error == 0)
21 call h5sclose_f(dataspace_id, error)
22 sll_assert_always(error == 0)
25 call h5dclose_f(dataset_id, error)
26 sll_assert_always(error == 0)