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
put pid on 2 chars to help sorting, and revalidate the output (timestamps changed...
[simgrid.git]
/
examples
/
gras
/
all2all
/
make_deployment.pl
diff --git
a/examples/gras/all2all/make_deployment.pl
b/examples/gras/all2all/make_deployment.pl
index
8698ac6
..
3220e86
100755
(executable)
--- a/
examples/gras/all2all/make_deployment.pl
+++ b/
examples/gras/all2all/make_deployment.pl
@@
-30,7
+30,7
@@
my @host;
open IN,$input || die "Cannot open $input: $!\n";
while (<IN>) {
open IN,$input || die "Cannot open $input: $!\n";
while (<IN>) {
- next unless /<
cpu name
="([^"]*)"/; # "
+ next unless /<
host id
="([^"]*)"/; # "
push @host, $1;
}
push @host, $1;
}
@@
-66,8
+66,8
@@
for (my $i=0; $i<$nb_hosts; $i++) {
# and now, really generate the file. Receiver first.
print "<?xml version='1.0'?>\n";
# and now, really generate the file. Receiver first.
print "<?xml version='1.0'?>\n";
-print "<!DOCTYPE platform
_description SYSTEM \"surfxml
.dtd\">\n";
-print "<platform
_description version=\"1
\">\n\n";
+print "<!DOCTYPE platform
SYSTEM \"simgrid
.dtd\">\n";
+print "<platform
version=\"2
\">\n\n";
for my $r (@receivers) {
my ($h, $p) = split(':', $r);
for my $r (@receivers) {
my ($h, $p) = split(':', $r);
@@
-102,6
+102,6
@@
if(length($source)) {
}
}
}
}
-print "</platform
_description
>\n";
+print "</platform>\n";
# print "source='$source' nb_hosts=$nb_hosts\n";
# print "source='$source' nb_hosts=$nb_hosts\n";