Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
re-enable GRAS, but only in real world for now (until the simulation part gets fixed)
[simgrid.git] / src / gras / gras.c
index 75746f6..386e35f 100644 (file)
@@ -23,7 +23,7 @@ static int gras_running_process = 0;
 void gras_init(int *argc,char **argv, const char *defaultlog) {
 
   INFO0("Initialize GRAS");
-  xbt_assert0(0,"Work in progress. Forget about GRAS for now.");
+  xbt_assert0(gras_if_RL(),"Work in progress. Forget about GRAS simulation for now.");
   xbt_init_defaultlog(argc,argv,defaultlog);
   gras_process_init(); /* calls procdata_init, which calls dynar_new */
   /** init other submodules */