Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
misleading typo in the comments
[simgrid.git] / examples / lua / README
1
2 Examples contained in this directory
3
4 To execute any SimGrid Lua example, SimGrid must have been compiled with lua
5 support enabled (-Denable_lua) and the SimGrid dynamic library must be in
6 your LUA_CPATH. For example:
7
8 export LUA_CPATH="${LUA_CPATH};/path/to/simgrid/examples/lua/?.so"
9
10 ===============================================================================
11 * masterslave
12 ===============================================================================
13
14     - Description:
15     Simple master slave application
16
17     - Directory:
18     examples/lua/masterslave
19
20     - Platform Files:
21     ../../platforms/small_platform.xml
22
23     - Deployment Files:
24     ../deploy.xml
25
26     - Execute:
27     lua master_slave.lua ../../platforms/small_platform.xml ../deploy.xml
28
29 ===============================================================================
30 * multi_matrix
31 ===============================================================================
32
33     - Description:
34     Simple example to demonstrate how 2 processes can exchange data via a task.
35     In this example:
36         * Process Sender: sends two matrices with a fixed size to the receiver.
37         * Process Receiver: receive the matrices and makes the multiplication.
38
39     - Directory:
40     examples/lua/multi_matrix
41
42     - Platform Files:
43     quicksort_platform.xml
44
45     - Deployment Files:
46     quicksort_deployment.xml
47
48     - Execute:
49     lua mult_matrix.lua
50
51 ================================================================================
52 ================================================================================
53
54