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
model-checker : comment erroneous ignore (not completely sure ...)
[simgrid.git]
/
examples
/
lua
/
masterslave
/
master_slave.lua
diff --git
a/examples/lua/masterslave/master_slave.lua
b/examples/lua/masterslave/master_slave.lua
index
984dba7
..
9a7f354
100644
(file)
--- a/
examples/lua/masterslave/master_slave.lua
+++ b/
examples/lua/masterslave/master_slave.lua
@@
-1,11
+1,17
@@
+-- Copyright (c) 2011-2014. The SimGrid Team.
+-- All rights reserved.
+
+-- This program is free software; you can redistribute it and/or modify it
+-- under the terms of the license (GNU LGPL) which comes with this package.
+
dofile 'master.lua'
dofile 'slave.lua'
-- Simulation Code ----------------------------------------------------------
require "simgrid"
dofile 'master.lua'
dofile 'slave.lua'
-- Simulation Code ----------------------------------------------------------
require "simgrid"
-simgrid.platform(arg[1]
or "../../msg/small_platform.xml"
)
-simgrid.application(arg[2]
or "../deploy.xml"
)
+simgrid.platform(arg[1])
+simgrid.application(arg[2])
simgrid.run()
simgrid.info("Simulation's over. See you.")
-- end-of-master-slave
simgrid.run()
simgrid.info("Simulation's over. See you.")
-- end-of-master-slave