OpenGL Mathemetics (GLM) is a header-only C++ library which performs operations typically encountered in graphics applications, but can also be relevant to scientific applications. GLM is freely available under an MIT license.
Compiling with GLM
module load glm
The compiler wrapper
CC will automatically location the required
include directory when the module is loaded.
glm module also defines the environment variable
which carries the root of the installation, if needed.
glm/0.9.9.6installed October 2021 (PE 21.04)
glm/0.9.9.6installed January 2021
Install your own version
One can follow the instructions used to install the current version on ARCHER2 via the ARCHER2 Github repository:
$ git clone https://github.com/ARCHER2-HPC/pe-scripts.git $ cd pe-scripts $ git checkout modules-2021-10 $ ./sh/glm.sh --prefix=/path/to/install/location
--prefixoption sets the install location. See the ARCHER2 Github repository for further details.