X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/edde8f7fbc1b74a81551bf9eb7bac1935b999296..72df9f3bba5bc29c6d0362328ac9d97c3ec35afd:/examples/lua/README 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 - + ================================================================================ ================================================================================