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
MPI_Address didn't return MPI_SUCCESS on success
[simgrid.git]
/
src
/
msg
/
msg_environment.c
diff --git
a/src/msg/msg_environment.c
b/src/msg/msg_environment.c
index
c263080
..
eb889cb
100644
(file)
--- a/
src/msg/msg_environment.c
+++ b/
src/msg/msg_environment.c
@@
-34,16
+34,18
@@
*/
void MSG_create_environment(const char *file)
{
*/
void MSG_create_environment(const char *file)
{
+ SIMIX_create_environment(file);
+}
+
+void MSG_post_create_environment(void) {
xbt_lib_cursor_t cursor;
void **data;
char *name;
xbt_lib_cursor_t cursor;
void **data;
char *name;
- SIMIX_create_environment(file);
-
/* Initialize MSG hosts */
xbt_lib_foreach(host_lib, cursor, name, data) {
if(data[SIMIX_HOST_LEVEL])
/* Initialize MSG hosts */
xbt_lib_foreach(host_lib, cursor, name, data) {
if(data[SIMIX_HOST_LEVEL])
- __MSG_host_create((smx_host_t)data[SIMIX_HOST_LEVEL]
, NULL
);
+ __MSG_host_create((smx_host_t)data[SIMIX_HOST_LEVEL]);
}
}
}
}