From 72df9f3bba5bc29c6d0362328ac9d97c3ec35afd Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Mon, 19 Jan 2015 16:42:26 +0100 Subject: [PATCH] Updated lua README file to reflect current state of SG - File small_platform.xml was moved to a different location - Added full example for execution; without it, it doesn't work. --- examples/lua/README | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/examples/lua/README b/examples/lua/README index 890b886c03..0c01f469e4 100644 --- a/examples/lua/README +++ b/examples/lua/README @@ -1,7 +1,8 @@ Examples contained in this directory -To execute any SimGrid Lua example, the SimGrid dynamic library must be in +To execute any SimGrid Lua example, SimGrid must have been compiled with lua +support enabled (-Denable_lua) and the SimGrid dynamic library must be in your LUA_CPATH. For example: export LUA_CPATH="${LUA_CPATH};/path/to/simgrid/examples/lua/?.so" @@ -17,13 +18,13 @@ export LUA_CPATH="${LUA_CPATH};/path/to/simgrid/examples/lua/?.so" examples/lua/masterslave - Platform Files: - ../../msg/small_platform.xml - + ../../platforms/small_platform.xml + - Deployment Files: ../deploy.xml - - Execute: - lua master_slave.lua + - Execute: + lua master_slave.lua ../../platforms/small_platform.xml ../deploy.xml =============================================================================== * multi_matrix @@ -37,16 +38,16 @@ export LUA_CPATH="${LUA_CPATH};/path/to/simgrid/examples/lua/?.so" - Directory: examples/lua/multi_matrix - + - Platform Files: - quicksort_platform.xml - + quicksort_platform.xml + - Deployment Files: quicksort_deployment.xml - - Execute: + - Execute: lua mult_matrix.lua - + ================================================================================ ================================================================================ -- 2.20.1