From b4417e14cad0429e1877f7310f36d0b603015d92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christophe=20Thi=C3=A9ry?= Date: Tue, 8 Nov 2011 11:55:47 +0100 Subject: [PATCH] Update README of Lua examples --- examples/lua/README | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/examples/lua/README b/examples/lua/README index 42a9ec2dc3..890b886c03 100644 --- a/examples/lua/README +++ b/examples/lua/README @@ -1,42 +1,50 @@ -Examples containing in this directory +Examples contained in this directory + +To execute any SimGrid Lua example, the SimGrid dynamic library must be in +your LUA_CPATH. For example: + +export LUA_CPATH="${LUA_CPATH};/path/to/simgrid/examples/lua/?.so" =============================================================================== -* master_slave.lua +* masterslave =============================================================================== + - Description: Simple master slave application + - Directory: + examples/lua/masterslave + - Platform Files: - ../msg/small_platform.xml + ../../msg/small_platform.xml - Deployment Files: - ../ruby/deploy.xml + ../deploy.xml - Execute: - (WARNING: the current directory must be examples/lua/) lua master_slave.lua =============================================================================== -* mult_matrix.lua +* multi_matrix =============================================================================== - - Description: - Simple example to demonstrate how 2 process could exchage data via a shared Task - in this example : - *Process Sender : Send two matrix with a fixed size to the 'Receiver' process - *Process Receiver : Receive the Matrix, make multiplication and put the result - into the shared task that the Sender could read it . + Simple example to demonstrate how 2 processes can exchange data via a task. + In this example: + * Process Sender: sends two matrices with a fixed size to the receiver. + * Process Receiver: receive the matrices and makes the multiplication. + + - Directory: + examples/lua/multi_matrix - Platform Files: - ../ruby/quicksort_platform.xml + quicksort_platform.xml - Deployment Files: - ../ruby/quicksort_deployment.xml + quicksort_deployment.xml - Execute: - (WARNING: the current directory must be examples/lua/) lua mult_matrix.lua ================================================================================ -- 2.20.1