X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/70e4dad5ffd1ba6f56eb7bc97408411b9a73119b..25d0f572e51dd9830c815a99157176ee9df751e5:/src/smpi/smpi_sender.c diff --git a/src/smpi/smpi_sender.c b/src/smpi/smpi_sender.c index f02e0abfa0..0035d63897 100644 --- a/src/smpi/smpi_sender.c +++ b/src/smpi/smpi_sender.c @@ -15,7 +15,6 @@ int smpi_sender(int argc, char **argv) smx_host_t dhost; - char communication[] = "communication"; smx_action_t action; smpi_received_message_t message; @@ -91,7 +90,7 @@ int smpi_sender(int argc, char **argv) request->completed = 1; } - action = SIMIX_action_communicate(shost, dhost, communication, request->datatype->size * request->count, -1.0); + action = SIMIX_action_communicate(shost, dhost, "communication", request->datatype->size * request->count, -1.0); SIMIX_register_action_to_condition(action, request->cond); SIMIX_cond_wait(request->cond, request->mutex);