Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Chord: give some options at runtime
[simgrid.git] / examples / msg / chord / run_chord
diff --git a/examples/msg/chord/run_chord b/examples/msg/chord/run_chord
new file mode 100755 (executable)
index 0000000..e6f3b9c
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+nb_lines=$[$1 + 3]
+head -n $nb_lines chord100000.xml > tmp_depl.xml
+echo "</platform>" >> tmp_depl.xml
+./chord -nb_bits=24 -timeout=200 ../../platforms/cluster_with_300000_hosts.xml tmp_depl.xml
+#rm tmp_depl.xml
+