X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c5b6984a0236437d46945ee28731a6a072f6a2fb..0f5509273af174fc845f00268eb6430cf22d8ee0:/tools/gras/stub_generator.c diff --git a/tools/gras/stub_generator.c b/tools/gras/stub_generator.c index c82f089197..8e0cb51e16 100644 --- a/tools/gras/stub_generator.c +++ b/tools/gras/stub_generator.c @@ -10,7 +10,7 @@ #include "xbt/sysdep.h" #include "xbt/log.h" -#include "surf/surf_parse.h" +#include "surf/surfxml_parse.h" #include "surf/surf.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(stubgen,gras,"Stub generator"); @@ -173,7 +173,7 @@ static void generate_sim(char *project) "\n"); fprintf(OUT, " MSG_paje_output(\"%s.trace\");\n" - " MSG_set_channel_number(10); /* Using at most 10 channel (ports) per host. Change it here if needed */\n" + " MSG_set_channel_number(XBT_MAX_CHANNEL); /* Using at most 10 channel (ports) per host. Change it here if needed */\n" " MSG_create_environment(argv[1]);\n" "\n" " /* Application deployment */\n",