Skip to main content

The MATIO library

⚠ INFORMATION
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
warning

The current version is not compatible with the GPU A100 gpu_p5 and H100 gpu_p6 partitions!

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.

Note

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 matio

Usage

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

When linking, it is necessary to add the option -lmatio:

module load matioifort appel_matio.f90 -lmatio

Documentation

🧑‍💻 MATIO Homepage on GitHub

Your opinion matters!

To give your feedback, report an error, or suggest an improvement, click here:

quick anonymous questionnaire

This questionnaire is temporary and will take less than a minute, so take the opportunity!