summaryrefslogtreecommitdiffstats
path: root/src/H5mpi.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 14:31:56 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:31:56 (GMT)
commit7a44581a84778a1346a2fd5b6cca7d9db905a321 (patch)
tree44ea9c2d1b471eb227698abe8499c34cfa6d47d2 /src/H5mpi.c
parent622fcbd13881fbc58bbeaed3062583b759f5e864 (diff)
downloadhdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.zip
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.gz
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.bz2
Rename HDassert() to assert() (#3191)
* Change HDassert to assert * Fix bin/make_err
Diffstat (limited to 'src/H5mpi.c')
-rw-r--r--src/H5mpi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5mpi.c b/src/H5mpi.c
index 31ad036..294fd11 100644
--- a/src/H5mpi.c
+++ b/src/H5mpi.c
@@ -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
@@ -808,7 +808,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;