Lua 2016

From HPC users
Revision as of 11:38, 2 September 2021 by Schwietzer (talk | contribs) (Created page with "== Introduction == Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional progra...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction

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 combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode with a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping. 1

Lua is already provided as system software on our cluster, so you don't nessecarily need to load a Lua module to use it. But since the system lua is currently at version 5.1.4 (ATTOW: Sept. 2021) you might want or need to use a more rescent version. This is what the modules are for.

Installed version(s)

The following versions are installed and currently available...

... on environment hpc-env/8.3:

  • Lua/5.3.5-GCCcore-8.3.0

Loading / Using Lua

To load the desired version of the module, use the module load command, e.g.

module load hpc-env/8.3
module load Lua

Always remember: this command is case sensitive!


Documentation

The full documentation can be found here.