X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/165f0d8397015d910184a9869d045037af0b2edc..083e5bc3e59e935868789304e8bc5d906000a173:/src/smpi/smpi_datatype.cpp diff --git a/src/smpi/smpi_datatype.cpp b/src/smpi/smpi_datatype.cpp index 4ce49854c2..2a774f30ac 100644 --- a/src/smpi/smpi_datatype.cpp +++ b/src/smpi/smpi_datatype.cpp @@ -271,11 +271,14 @@ int Datatype::copy(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype){ int count; +// FIXME Handle the case of a partial shared malloc. +#if 0 if(smpi_is_shared(sendbuf)){ XBT_DEBUG("Copy input buf %p is shared. Let's ignore it.", sendbuf); }else if(smpi_is_shared(recvbuf)){ XBT_DEBUG("Copy output buf %p is shared. Let's ignore it.", recvbuf); } +#endif if(smpi_privatize_global_variables == SMPI_PRIVATIZE_MMAP){ smpi_switch_data_segment(smpi_process()->index());