From 781fa57f6ee816e037dd12fff02d37ff7ec9c2b1 Mon Sep 17 00:00:00 2001 From: kmu Date: Wed, 29 Jan 2020 13:01:30 -0600 Subject: pick up missing piece from merge --- testpar/t_2Gio.c | 5 +---- 1 file changed, 1 insertion(+), 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}; /* -- cgit v0.12