Matio is a library which allows reading and writing matrices in MATLAB MAT format. It is an open source development released under a BSD license.
Compiling and linking against Matio
module load matio
matio module and use the standard compiler wrappers
ftn in the usual way. The appropriate header
files and libraries will be included automatically via the
matio module set the
PATH variable so that the stand-alone
matdump can be used. The module also defines
which gives the root of the installation if this is needed.
matio/1.5.23installed May 2023 (PE 22.12)
matio/1.5.18installed October 2021 (PE 21.04)
matio/1.5.18installed January 2021
Compiling your own version
A version of Matio as currently installed on Archer2 can be compiled using the script avaailable from the Archer2 github repository:
$ git clone https://github.com/ARCHER2-HPC/pe-scripts.git
$ cd pe-scripts
$ git checkout modules-2022-12
$ ./sh/tpsl/matio.sh --prefix=/path/to/install/location
--prefix defines the location of the installation.
Matio github repository