From c75be86a2a49261ac4a8b37e9bbb047239675b88 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Tue, 6 Apr 2021 22:53:45 +0200 Subject: [PATCH] appease 32 bits --- src/smpi/mpi/smpi_win.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/smpi/mpi/smpi_win.cpp b/src/smpi/mpi/smpi_win.cpp index bf860179c8..4d32732c80 100644 --- a/src/smpi/mpi/smpi_win.cpp +++ b/src/smpi/mpi/smpi_win.cpp @@ -217,7 +217,7 @@ int Win::put(const void *origin_addr, int origin_count, MPI_Datatype origin_data } if(target_count*target_datatype->get_extent()>recv_win->size_){ - XBT_WARN("MPI_Put: Trying to put %ld, which is more than the window size on target process %d : %ld - Bailing out.", + XBT_WARN("MPI_Put: Trying to put %zd, which is more than the window size on target process %d : %zd - Bailing out.", target_count*target_datatype->get_extent(), target_rank, recv_win->size_); return MPI_ERR_RMA_RANGE; } @@ -280,7 +280,7 @@ int Win::get( void *origin_addr, int origin_count, MPI_Datatype origin_datatype, } if(target_count*target_datatype->get_extent()>send_win->size_){ - XBT_WARN("MPI_Get: Trying to get %ld, which is more than the window size on target process %d : %ld - Bailing out.", + XBT_WARN("MPI_Get: Trying to get %zd, which is more than the window size on target process %d : %zd - Bailing out.", target_count*target_datatype->get_extent(), target_rank, send_win->size_); return MPI_ERR_RMA_RANGE; } @@ -343,7 +343,7 @@ int Win::accumulate(const void *origin_addr, int origin_count, MPI_Datatype orig //FIXME: local version if(target_count*target_datatype->get_extent()>recv_win->size_){ - XBT_WARN("MPI_Accumulate: Trying to accumulate %ld, which is more than the window size on target process %d : %ld - Bailing out.", + XBT_WARN("MPI_Accumulate: Trying to accumulate %zd, which is more than the window size on target process %d : %zd - Bailing out.", target_count*target_datatype->get_extent(), target_rank, recv_win->size_); return MPI_ERR_RMA_RANGE; } @@ -401,7 +401,7 @@ int Win::get_accumulate(const void* origin_addr, int origin_count, MPI_Datatype } if(target_count*target_datatype->get_extent()>send_win->size_){ - XBT_WARN("MPI_Get_accumulate: Trying to get_accumulate %ld, which is more than the window size on target process %d : %ld - Bailing out.", + XBT_WARN("MPI_Get_accumulate: Trying to get_accumulate %zd, which is more than the window size on target process %d : %zd - Bailing out.", target_count*target_datatype->get_extent(), target_rank, send_win->size_); return MPI_ERR_RMA_RANGE; } -- 2.20.1