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
No more need of these ones...
[simgrid.git]
/
examples
/
gras_stub_generator
diff --git
a/examples/gras_stub_generator
b/examples/gras_stub_generator
index
84a1c8b
..
2791ff5
100755
(executable)
--- a/
examples/gras_stub_generator
+++ b/
examples/gras_stub_generator
@@
-15,7
+15,7
@@
eval qq{
sub usage {
my ($msg)=@_;
sub usage {
my ($msg)=@_;
-
fail
($msg? "gras_stub_generator: $msg\n":"").
+
die
($msg? "gras_stub_generator: $msg\n":"").
"gras_stub_generator: USAGE\n".
" gras_stub_generator project_name deployment_file\n"
}
"gras_stub_generator: USAGE\n".
" gras_stub_generator project_name deployment_file\n"
}
@@
-46,7
+46,7
@@
$warn
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
-#include
<msg.h>
+#include
"msg/msg.h"
#include <gras.h>
char *gras_log=NULL;
#include <gras.h>
char *gras_log=NULL;
@@
-115,7
+115,7
@@
int main (int argc,char *argv[]) {
/* Simulation setup */
MSG_global_init();
MSG_set_verbosity(MSG_SILENT);
/* Simulation setup */
MSG_global_init();
MSG_set_verbosity(MSG_SILENT);
- MSG_set_channel_number(
GRAS_MAX_CHANNEL);
+ MSG_set_channel_number(
10); // GRAS_MAX_CHANNEL hardcoded since Alvin killed its definition
MSG_create_environment(argv[1]);
/* Application deployment */
MSG_create_environment(argv[1]);
/* Application deployment */