A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanups
[simgrid.git]
/
src
/
smpi
/
smpi_global.c
diff --git
a/src/smpi/smpi_global.c
b/src/smpi/smpi_global.c
index
403d5d6
..
36ecab6
100644
(file)
--- 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;
/* 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 {
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;
/* 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 {
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);
"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
SIMIX_global_init(&argc, argv);
// parse the platform file: get the host list