diff --git a/src/mpi/romio/adio/ad_daos/ad_daos_open.c b/src/mpi/romio/adio/ad_daos/ad_daos_open.c index f493713a87e..1833e400aa0 100644 --- a/src/mpi/romio/adio/ad_daos/ad_daos_open.c +++ b/src/mpi/romio/adio/ad_daos/ad_daos_open.c @@ -105,7 +105,7 @@ static int share_cont_info(struct ADIO_DAOS_cont *cont, int rank, MPI_Comm comm) uint64_t total_size; daos_size_t buf_size; #if CHECK_DAOS_API_VERSION(1, 4) - daos_size_t pool_len, cont_len; + daos_size_t pool_len = 0, cont_len = 0; #else daos_size_t pool_len = 37, cont_len = 37; #endif diff --git a/src/mpi/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c b/src/mpi/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c index d65dea409d4..7bfa1996d07 100644 --- a/src/mpi/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c +++ b/src/mpi/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c @@ -111,7 +111,7 @@ void ADIOI_GPFS_WriteStridedColl(ADIO_File fd, const void *buf, MPI_Aint count, ADIO_Offset *offset_list = NULL, *st_offsets = NULL, *fd_start = NULL, *fd_end = NULL, *end_offsets = NULL; ADIO_Offset *gpfs_offsets0 = NULL, *gpfs_offsets = NULL; - ADIO_Offset *count_sizes; + ADIO_Offset *count_sizes = NULL; int ii; MPI_Aint *buf_idx = NULL; diff --git a/src/mpi/romio/adio/ad_lustre/ad_lustre_wrcoll.c b/src/mpi/romio/adio/ad_lustre/ad_lustre_wrcoll.c index c808f3e73ab..98a07a67340 100644 --- a/src/mpi/romio/adio/ad_lustre/ad_lustre_wrcoll.c +++ b/src/mpi/romio/adio/ad_lustre/ad_lustre_wrcoll.c @@ -1304,7 +1304,7 @@ static void ADIOI_LUSTRE_IterateOneSided(ADIO_File fd, const void *buf, int *str &(offset_list[startingOffsetListIndex]), &(len_list[startingOffsetListIndex]), segmentContigAccessCount, - buf + totalDataWrittenLastRound, datatype, + (char *) buf + totalDataWrittenLastRound, datatype, error_code, segmentFirstFileOffset, segmentLastFileOffset, currentValidDataIndex, segment_stripe_start, segment_stripe_end, diff --git a/src/mpi/romio/adio/common/ad_fstype.c b/src/mpi/romio/adio/common/ad_fstype.c index 7b6217c4dbe..fda9450cabb 100644 --- a/src/mpi/romio/adio/common/ad_fstype.c +++ b/src/mpi/romio/adio/common/ad_fstype.c @@ -42,6 +42,9 @@ #endif #ifdef ROMIO_DAOS +#include // daos_cont_layout_t and daos_pro_t +#include // daos_oclass_id_t +#include // DAOS_CONT_HINT_MAX_LEN #include #endif diff --git a/src/mpl/src/gpu/mpl_gpu_ze.c b/src/mpl/src/gpu/mpl_gpu_ze.c index a92824645f6..e3b717744e6 100644 --- a/src/mpl/src/gpu/mpl_gpu_ze.c +++ b/src/mpl/src/gpu/mpl_gpu_ze.c @@ -1607,7 +1607,7 @@ static int update_lru_mapped_order(void *ipc_buf, int dev_id) } /* Add to the map for constant access during reorder */ - MPL_ze_ipc_lru_map_t *map_entry = + map_entry = (MPL_ze_ipc_lru_map_t *) MPL_calloc(1, sizeof(MPL_ze_ipc_lru_map_t), MPL_MEM_OTHER); if (map_entry == NULL) { mpl_err = MPL_ERR_GPU_NOMEM;