X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4cf3e4e9a47b349606e27b77d407c6bf0594f330..16b973adc7848352f530190ec27096d902205afc:/src/smpi/smpi_global.c diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index 403d5d631e..36ecab65b9 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -62,6 +62,7 @@ void smpi_process_post_send(MPI_Comm comm, MPI_Request request) { /* Materialize the *_ANY_* fields from corresponding irecv request */ req->src = request->src; req->tag = request->tag; + req->data = request->data; request->rdv = req->rdv; return; } else { @@ -90,6 +91,7 @@ void smpi_process_post_recv(MPI_Request request) { /* Materialize the *_ANY_* fields from the irecv request */ request->src = req->src; request->tag = req->tag; + request->data = req->data; request->rdv = req->rdv; return; } else { @@ -152,6 +154,11 @@ int main(int argc, char **argv) "Boolean indicating whether we should display the timing after simulation.", xbt_cfgelm_int, &default_display_timing, 1, 1, NULL, NULL); + int default_display_smpe = 0; + xbt_cfg_register(&_surf_cfg_set, "SMPE", + "Boolean indicating whether we should display simulated time spent in MPI calls.", + xbt_cfgelm_int, &default_display_smpe, 1, 1, NULL, NULL); + SIMIX_global_init(&argc, argv); // parse the platform file: get the host list