Lua¶
Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
Lua is available as a module on Apocrita.
Usage¶
To run the default installed version of Lua, simply load the Lua module:
module load lua
then run Lua with a script file:
lua example.lua
Example job¶
Serial job¶
Here is an example job running on 1 core with 1GB RAM:
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe smp 1
#$ -l h_rt=1:0:0
#$ -l h_vmem=1G
module load lua
lua example.lua