This is not a complete article: This is a Draft, a work in progress that is intended to be published into an article, which may or may not be ready for inclusion in the main wiki. It should not necessarily be considered factual or authoritative.
Torch is available in the form of a module. In order to use it, you must first load the cuda module.
[name@server $] module load cuda torch
will give you the latest version available.
Installing Lua packages
Torch comes with the Lua package manager, named luarocks. By design, luarocks will allow you to install new packages, but will not find the system packages. To install packages in your own folder, use the following:
[name@server $] luarocks install --local --deps-mode=all <package name>
By experience, we often find packages that do not install quite well through luarocks. If you have a package that is not installed in the default module and need help installing it, please contact our Technical support