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
splaySim: a lua implementation of a splay (simulation)scenario with a masterslave...
[simgrid.git]
/
examples
/
lua
/
master_slave.lua
diff --git
a/examples/lua/master_slave.lua
b/examples/lua/master_slave.lua
index
652d34e
..
9c28bd0
100644
(file)
--- a/
examples/lua/master_slave.lua
+++ b/
examples/lua/master_slave.lua
@@
-11,10
+11,6
@@
comp_size = arg[2];
comm_size = arg[3];
slave_count = arg[4]
comm_size = arg[3];
slave_count = arg[4]
-A = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}
-
---print (A[1][3])
-
if (#arg ~= 4) then
error("Argc should be 4");
end
if (#arg ~= 4) then
error("Argc should be 4");
end
@@
-77,7
+73,7
@@
simgrid.platform(arg[1])
simgrid.application(arg[2])
else
simgrid.platform("../msg/small_platform.xml")
simgrid.application(arg[2])
else
simgrid.platform("../msg/small_platform.xml")
-simgrid.application("
../ruby/
deploy.xml")
+simgrid.application("deploy.xml")
end
simgrid.run()
simgrid.info("Simulation's over.See you.")
end
simgrid.run()
simgrid.info("Simulation's over.See you.")