Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't protect access to the metatable from Lua.
[simgrid.git] / examples / lua / masterslave / master_slave.lua
1 dofile 'master.lua'
2 dofile 'slave.lua'
3 -- Simulation Code ----------------------------------------------------------
4
5 require "simgrid"
6
7 if (#arg == 2) then
8   simgrid.platform(arg[1])
9   simgrid.application(arg[2])
10 else
11   simgrid.platform("../../msg/small_platform.xml")
12   simgrid.application("../deploy.xml")
13 end
14 simgrid.run()
15 simgrid.info("Simulation's over.See you.")
16 simgrid.clean()
17