Logo AND Algorithmique Numérique Distribuée

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