summaryrefslogtreecommitdiffstats
path: root/src/H5mpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5mpi.c')
-rw-r--r--src/H5mpi.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5mpi.c b/src/H5mpi.c
index f847508..11b0b7b 100644
--- a/src/H5mpi.c
+++ b/src/H5mpi.c
@@ -395,9 +395,9 @@ H5_mpi_info_cmp(MPI_Info info1, MPI_Info info2, int *result)
same = TRUE;
/* Memset the buffers to zero */
- HDmemset(key, 0, MPI_MAX_INFO_KEY);
- HDmemset(value1, 0, MPI_MAX_INFO_VAL);
- HDmemset(value2, 0, MPI_MAX_INFO_VAL);
+ memset(key, 0, MPI_MAX_INFO_KEY);
+ memset(value1, 0, MPI_MAX_INFO_VAL);
+ memset(value2, 0, MPI_MAX_INFO_VAL);
/* Get the nth key */
if (MPI_SUCCESS != (mpi_code = MPI_Info_get_nthkey(info1, i, key)))
@@ -410,7 +410,7 @@ H5_mpi_info_cmp(MPI_Info info1, MPI_Info info2, int *result)
HMPI_GOTO_ERROR(FAIL, "MPI_Info_get failed", mpi_code)
/* Compare values and flags */
- if (!flag1 || !flag2 || HDmemcmp(value1, value2, MPI_MAX_INFO_VAL)) {
+ if (!flag1 || !flag2 || memcmp(value1, value2, MPI_MAX_INFO_VAL)) {
same = FALSE;
break;
}
@@ -639,9 +639,9 @@ H5_mpio_gatherv_alloc(void *send_buf, int send_count, MPI_Datatype send_type, co
FUNC_ENTER_NOAPI(FAIL)
- HDassert(send_buf || send_count == 0);
+ assert(send_buf || send_count == 0);
if (allgather || (mpi_rank == root))
- HDassert(out_buf && out_buf_num_entries);
+ assert(out_buf && out_buf_num_entries);
/* Retrieve the extent of the MPI Datatype being used */
#if H5_CHECK_MPI_VERSION(3, 0)
@@ -725,9 +725,9 @@ H5_mpio_gatherv_alloc_simple(void *send_buf, int send_count, MPI_Datatype send_t
FUNC_ENTER_NOAPI(FAIL)
- HDassert(send_buf || send_count == 0);
+ assert(send_buf || send_count == 0);
if (allgather || (mpi_rank == root))
- HDassert(out_buf && out_buf_num_entries);
+ assert(out_buf && out_buf_num_entries);
/*
* Allocate array to store the receive counts of each rank, as well as
@@ -809,7 +809,7 @@ H5_mpio_get_file_sync_required(MPI_File fh, hbool_t *file_sync_required)
FUNC_ENTER_NOAPI(FAIL)
- HDassert(file_sync_required);
+ assert(file_sync_required);
*file_sync_required = FALSE;