From: Frederic Suter Date: Tue, 23 Feb 2016 17:54:10 +0000 (+0100) Subject: update generation script to v4 X-Git-Tag: v3_13~720^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6ee4364122f060a19fe9cee34ae44c8865a15f87?ds=sidebyside update generation script to v4 --- diff --git a/examples/platforms/syscoord/generate_peer_platform.pl b/examples/platforms/syscoord/generate_peer_platform.pl index 7b530e3ab2..a866f87bf1 100755 --- a/examples/platforms/syscoord/generate_peer_platform.pl +++ b/examples/platforms/syscoord/generate_peer_platform.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl -# Copyright (c) 2011, 2014. The SimGrid Team. +# Copyright (c) 2011, 2014, 2016. The SimGrid Team. # All rights reserved. # This program is free software; you can redistribute it and/or modify it @@ -9,34 +9,31 @@ use strict; use warnings; -my $toversion=3; +my $toversion=4; my $nb_peer = $ARGV[0]; my $i; print "\n"; -print "\n"; +print "\n"; print "\n"; print "\n\n"; print "\t\n"; print "\n\n"; -print "\t\n"; +print "\t\n"; my $line; open SITES_LIGNE, $ARGV[0] or die "Unable to open $ARGV[1]\n"; while(defined($line=)) { - #278 7.2 -9.4 h 2.3 - if($line =~ /^(.*) (.*) (.*) h (.*)$/) - { - print "\t\t\n\n"; - } -} - + #278 7.2 -9.4 h 2.3 + if($line =~ /^(.*) (.*) (.*) h (.*)$/) + { + print "\t\t\n"; + } +} print "\t\n"; -print ""; - -print " \n"; +print "\n";