summaryrefslogtreecommitdiffstats
path: root/testpar/t_mpi.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-24 18:05:09 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-24 18:05:09 (GMT)
commitfb6328b6315d62aed57a98058c711ef086aa0db1 (patch)
treebb85224bcdcb2826bfe98b7b80b756613b65788a /testpar/t_mpi.c
parente938f4407eeea3f55dc5df291a2a83854f54404a (diff)
parent590aaff33046df99a4d88ba59e4b461e060b36e4 (diff)
downloadhdf5-fb6328b6315d62aed57a98058c711ef086aa0db1.zip
hdf5-fb6328b6315d62aed57a98058c711ef086aa0db1.tar.gz
hdf5-fb6328b6315d62aed57a98058c711ef086aa0db1.tar.bz2
Merge branch 'develop' of https://git.hdfgroup.org/scm/~kmu/hdf5 into develop
Diffstat (limited to 'testpar/t_mpi.c')
-rw-r--r--testpar/t_mpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c
index 91b8f8c..064fb57 100644
--- a/testpar/t_mpi.c
+++ b/testpar/t_mpi.c
@@ -302,7 +302,7 @@ static int test_mpio_gb_file(char *filename) {
"proc %d: write to mpi_off=%016llx, %lld\n",
mpi_rank, mpi_off, mpi_off);
/* set data to some trivial pattern for easy verification */
- for (j = 0; j < MB; j++)
+ for (j = 0; j < MB; j++)
H5_CHECKED_ASSIGN(*(buf + j), int8_t, i * mpi_size + mpi_rank, int);
if (VERBOSE_MED)
HDfprintf(stdout,
@@ -526,7 +526,7 @@ static int test_mpio_1wMr(char *filename, int special_request) {
* ==================================================*/
irank = 0;
for (i = 0; i < DIMSIZE; i++)
- H5_CHECKED_ASSIGN(writedata[i], uint8_t, irank * DIMSIZE + i, int)
+ H5_CHECKED_ASSIGN(writedata[i], uint8_t, irank * DIMSIZE + i, int)
mpi_off = irank * DIMSIZE;
/* Only one process writes */
@@ -697,7 +697,7 @@ static int test_mpio_derived_dtype(char *filename) {
MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank);
retcode = 0;
for (i = 0; i < 3; i++)
- H5_CHECKED_ASSIGN(buf[i], int8_t, i + 1, int);
+ buf[i] = (char)(i + 1);
if ((mpi_err = MPI_File_open(MPI_COMM_WORLD, filename,
MPI_MODE_RDWR | MPI_MODE_CREATE, MPI_INFO_NULL, &fh))