Logo AND Algorithmique Numérique Distribuée

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