Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to activate coverity for simgrid
[simgrid.git] / examples / lua / splaySim / splay_ctrl.lua
1 -- Copyright (c) 2011, 2014. The SimGrid Team.
2 -- All rights reserved.
3
4 -- This program is free software; you can redistribute it and/or modify it
5 -- under the terms of the license (GNU LGPL) which comes with this package.
6
7 -- Simulation Code ----------------------------------------------------------
8
9 require "simgrid"
10 if (#arg == 2) then
11         dofile (arg[1])
12         dofile (arg[2])
13 else
14         dofile "splay_platform.lua"
15         dofile "splay_deploy_masterslave.lua"
16 end
17
18 simgrid.run()
19 simgrid.info("Simulation's over.See you.")
20 simgrid.clean()
21