X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/edde8f7fbc1b74a81551bf9eb7bac1935b999296..27703d95d8aef8b4c3e8c01e17c477082448f7ab:/examples/lua/console/deploy.lua diff --git a/examples/lua/console/deploy.lua b/examples/lua/console/deploy.lua index 26e34fc533..6cd9a48e3c 100644 --- a/examples/lua/console/deploy.lua +++ b/examples/lua/console/deploy.lua @@ -1,11 +1,16 @@ +-- Copyright (c) 2011, 2013-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' + + simgrid.init_application(); --Set Application simgrid.host.set_function{host="Tremblay",fct="Master",args="20,550000000,1000000,4"}; - simgrid.host.set_function{host="Bourassa",fct="Slave",args="0"}; simgrid.host.set_function{host="Jupiter",fct="Slave",args="1"}; simgrid.host.set_function{host="Fafard",fct="Slave",args="2"}; simgrid.host.set_function{host="Ginette",fct="Slave",args="3"}; - - --Save Application - simgrid.msg_register_application(); + simgrid.host.set_function{host="Bourassa",fct="Slave",args="0"};