SimGrid  3.7
Scalable simulation of distributed systems
Functions
Lua bindings
MSG

Lua bindings to MSG (MSG) More...

Functions

void MSG_load_platform_script (const char *script_file)
 A platform constructor bypassing the parser.

Detailed Description

Lua bindings to MSG (MSG)

This is the lua bindings of the MSG interface.

Who should use this (and who shouldn't)

If you want to use MSG to study your algorithm, but you don't want to use the C language (using MSG), then you should use some bindings such as this one. The advantage of the lua bindings is that they are distributed directly with the main archive (in contrary to Java and Ruby bindings, for example, that are distributed separately). Another advantage of lua is that there is almost no performance loss with regard to the C version (at least there shouln't be any -- it is still to be precisely assessed).

Lua offered functionnalities in MSG

Almost all important features of the MSG interface are available from the lua bindings. Unfortunately, since doxygen does not support the lua modules implemented directly in C as we are using, there is no ready to use reference documentation for this module. Even more than for the other modules, you will have to dig into the source code of the examples to learn how to use it.

Examples of lua MSG


Function Documentation

void MSG_load_platform_script ( const char *  script_file)

A platform constructor bypassing the parser.

load lua script file to set up new platform, including hosts,links and the routing table


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 doxygen