From: Augustin Degomme Date: Wed, 26 Mar 2014 16:00:42 +0000 (+0100) Subject: replace warnings by debug messages X-Git-Tag: v3_11~189^2~11 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/217821faf228d91ff1bd28dcf2828117178d692d?ds=sidebyside replace warnings by debug messages --- diff --git a/src/smpi/smpi_base.c b/src/smpi/smpi_base.c index 6295038a3c..f2085f2041 100644 --- a/src/smpi/smpi_base.c +++ b/src/smpi/smpi_base.c @@ -377,14 +377,11 @@ void smpi_mpi_start(MPI_Request request) oldbuf = request->buf; if (!_xbt_replay_is_active() && oldbuf && request->size!=0){ if((smpi_privatize_global_variables) - && ((char*)request->buf >= start_data_exe) - && ((char*)request->buf < start_data_exe + size_data_exe ) - ){ - XBT_WARN("Privatization : We are sending from a zone inside global memory. Switch data segment "); - switch_data_segment(smpi_process_index()); - } - - + && ((char*)request->buf >= start_data_exe) + && ((char*)request->buf < start_data_exe + size_data_exe )){ + XBT_DEBUG("Privatization : We are sending from a zone inside global memory. Switch data segment "); + switch_data_segment(smpi_process_index()); + } buf = xbt_malloc(request->size); memcpy(buf,oldbuf,request->size); } diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index 60e550f84d..44ca24aab0 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -334,7 +334,7 @@ static void smpi_comm_copy_buffer_callback(smx_action_t comm, && ((char*)buff >= start_data_exe) && ((char*)buff < start_data_exe + size_data_exe ) ){ - XBT_WARN("Privatization : We are copying from a zone inside global memory... Saving data to temp buffer !"); + XBT_DEBUG("Privatization : We are copying from a zone inside global memory... Saving data to temp buffer !"); switch_data_segment(((smpi_process_data_t)SIMIX_process_get_data(comm->comm.src_proc))->index); tmpbuff = (void*)xbt_malloc(buff_size); memcpy(tmpbuff, buff, buff_size); @@ -345,7 +345,7 @@ static void smpi_comm_copy_buffer_callback(smx_action_t comm, && ((char*)comm->comm.dst_buff >= start_data_exe) && ((char*)comm->comm.dst_buff < start_data_exe + size_data_exe ) ){ - XBT_WARN("Privatization : We are copying to a zone inside global memory - Switch data segment"); + XBT_DEBUG("Privatization : We are copying to a zone inside global memory - Switch data segment"); switch_data_segment(((smpi_process_data_t)SIMIX_process_get_data(comm->comm.dst_proc))->index); }