SimGrid
3.7
Scalable simulation of distributed systems
|
Simulation of a master-slave application using lua bindings, Bypassing the XML parser
as described ine the C native master/Slave exmaple , this function has to be assigned to a m_process_t that will behave as the master.
Lua style arguments (...) in for the master are interpreted as:
Tasks are dumbly sent in a round-robin style.
This function has to be assigned to a m_process_t that has to behave as a slave. This function keeps waiting for tasks and executes them as it receives them.
in this section the core of the simulation which start by including the simgrid lib for bindings, then create the resources we need to set up our environment bypassing the XML parser. : require "simgrid"
we can also bypass the XML deployment file, and associate functions for each of defined hosts.
Back to the main Simgrid Documentation page |
The version of SimGrid documented here is v3.7. Documentation of other versions can be found in their respective archive files (directory doc/html). |
Generated by ![]() |