Software
LLVM
LLVM is available to all users of HPC2N.
The LLVM Core libraries provide a modern source- and target-independent optimizer, along with code generation support for many popular CPUs (as well as some less common ones!)
These libraries are built around a well specified code representation known as the LLVM intermediate representation ("LLVM IR"). The LLVM Core libraries are well documented, and it is particularly easy to invent your own language (or port an existing compiler) to use LLVM as an optimizer and code generator.
On HPC2N we have LLVM available as a module on Kebnekaise.
To use the LLVM module, first add it to your environment. Use:
module spider llvm
to see which versions are available and how to load the module and the needed prerequisites.
Example, loading LLVM version 4.0.0
ml icc/2017.1.132-GCC-6.3.0-2.27 ml ifort/2017.1.132-GCC-6.3.0-2.27 ml impi/2017.1.132 ml LLVM/4.0.0
You can read more about loading modules on our Accessing software with Lmod page and our Using modules (Lmod) page.
There is a lot of information about using LLVM on the LLVM homepage.