The MATIO library
This page was translated by an AI (LLM) with a cursory human check and is awaiting full review.
Description
MATIO is a C library for reading and writing MATLAB MAT files. The library is designed to be used by programs/libraries that handle MAT data files and do not have access to MATLAB shared libraries or do not want to depend on them.
Installed Versions
The versions installed on Jean Zay can be found using the following command:
module avail matio
Environment
The versions of MATIO are available in different environments. To list them, use the following command:
module show matio
To use this library in other environments, please contact the User Support team.
To obtain information on the library access paths, it will be necessary to load the chosen environment first. For example:
module load intel-compilers/19.0.4 intel-mpi/19.0.4module show matioUsage
The library is accessible via the module command.
To load the default version in the current environment (or in the default environment if no environment is previously loaded):
module load matio
or to load a specific version in a specific environment (Intel in this example):
module load intel-compilers/19.0.4 intel-mpi/19.0.4module load matio/1.5.13-mpi
Link Editing
When linking, it is necessary to add the option
-lmatio:
module load matioifort appel_matio.f90 -lmatio