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
SMPI: Add a global table of processes, which one day will replace the table of hosts
[simgrid.git]
/
src
/
smpi
/
smpi_base.c
diff --git
a/src/smpi/smpi_base.c
b/src/smpi/smpi_base.c
index
6af070a
..
fbc34fb
100644
(file)
--- a/
src/smpi/smpi_base.c
+++ b/
src/smpi/smpi_base.c
@@
-78,6
+78,8
@@
void smpi_process_init()
smpi_receiver, hdata,
SIMIX_host_get_name(SIMIX_host_self()), 0, NULL,
/*props */ NULL);
smpi_receiver, hdata,
SIMIX_host_get_name(SIMIX_host_self()), 0, NULL,
/*props */ NULL);
+
+ smpi_global->main_processes[hdata->index] = SIMIX_process_self();
return;
}
return;
}