summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-29 19:01:30 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-29 19:01:30 (GMT)
commit781fa57f6ee816e037dd12fff02d37ff7ec9c2b1 (patch)
tree2ec1bc963fe0ea507af5f6bcbf2f0ab7f880d69d /testpar
parent63d8c003c62f0f97ec5ea83788da6ff9f19e790d (diff)
downloadhdf5-781fa57f6ee816e037dd12fff02d37ff7ec9c2b1.zip
hdf5-781fa57f6ee816e037dd12fff02d37ff7ec9c2b1.tar.gz
hdf5-781fa57f6ee816e037dd12fff02d37ff7ec9c2b1.tar.bz2
pick up missing piece from merge
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_2Gio.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/testpar/t_2Gio.c b/testpar/t_2Gio.c
index 513d00d..6b9aaeb 100644
--- a/testpar/t_2Gio.c
+++ b/testpar/t_2Gio.c
@@ -538,15 +538,12 @@ static int MpioTest2G( MPI_Comm comm, int mpi_rank )
hid_t plist_id; /* property list identifier */
hid_t filespace; /* file and memory dataspace identifiers */
int *data; /* pointer to data buffer to write */
- hsize_t chunk[3];
- hsize_t h5_counts[3];
- hsize_t h5_offsets[3];
hsize_t shape[3] = {1024, 1024, 1152};
size_t data_size, data_size_bytes, slice_per_process = shape[0]/2;
size_t tot_size_bytes = sizeof(int);
hsize_t chunk[3] = {4, shape[1], shape[2]};
hsize_t h5_counts[3] = { slice_per_process, shape[1], shape[2] };
- hsize_t h5_offsets[3] = { mpi_rank * slice_per_process, 0, 0};
+ hsize_t h5_offsets[3] = { (size_t)mpi_rank * slice_per_process, 0, 0};
/*