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
Fix gras initialization messages.
[simgrid.git]
/
src
/
gras
/
gras.c
diff --git
a/src/gras/gras.c
b/src/gras/gras.c
index
170275d
..
f94430d
100644
(file)
--- a/
src/gras/gras.c
+++ b/
src/gras/gras.c
@@
-70,12
+70,13
@@
void gras_init(int *argc, char **argv)
int first = 0;
gras_procdata_t *pd;
gras_msg_procdata_t msg_pd;
int first = 0;
gras_procdata_t *pd;
gras_msg_procdata_t msg_pd;
- XBT_VERB("Initialize GRAS");
xbt_getpid = gras_os_getpid;
/* First initialize the XBT */
xbt_init(argc, argv);
xbt_getpid = gras_os_getpid;
/* First initialize the XBT */
xbt_init(argc, argv);
+ XBT_VERB("Initialize GRAS");
+
/* module registrations:
* - declare process specific data we need (without creating them)
*/
/* module registrations:
* - declare process specific data we need (without creating them)
*/
@@
-95,6
+96,9
@@
void gras_init(int *argc, char **argv)
XBT_LOG_CONNECT(gras_virtu_emul, gras_virtu);
XBT_LOG_CONNECT(gras_virtu_process, gras_virtu);
XBT_LOG_CONNECT(gras_virtu_emul, gras_virtu);
XBT_LOG_CONNECT(gras_virtu_process, gras_virtu);
+ if (!getenv("GRAS_NO_WARN_EXPERIMENTAL"))
+ XBT_WARN("GRAS is not well maintained anymore. We consider it to be experimental (and not stable anymore) since SimGrid 3.6. Sorry about it, please consider contributing to improve this situation");
+
gras_trp_register();
gras_msg_register();
gras_trp_register();
gras_msg_register();