Fork me on GitHub

Warning

Iceberg reaches end-of-life on 30th November 2020. If you are running jobs on Iceberg then you need to take urgent action to ensure that your jobs/scripts will run on ShARC or Bessemer. If you have never used ShARC or Bessemer then now is the time to test your scripts. Not all software on Iceberg is available on ShARC/Bessemer.

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.

Interactive Usage

After connecting to iceberg (see Establishing a SSH connection), start an interactive session with the qrshx command.

Lua can be loaded with

module load apps/lua/5.3.3

Lua can then be run with

$ lua

Installation Notes

These notes are primarily for administrators of the system.

Version 5.3.3

The modulefile is at /usr/local/extras/modulefiles/apps/lua/5.3.3

contains

#%Module1.0

proc ModulesHelp { } {
        puts stderr " Adds Lua to your PATH environment variable and necessary libraries"
}

prepend-path PATH /usr/local/extras/Lua/lua-5.3.3/src