Welcome to fpm-linalg¶
This is the documentation of the fpm package linalg: a light-weight Fortran package for linear algebra.
Installation¶
The package is installed with the Fortran package manger fpm:
Before compilation, the compiler and the compiler flags can be set by defining the environment variablesFPM_FC and
FPM_FFLAGS, respectively (see also the source files
export_gfortran.sh and export_ifx.sh).
Quad precision is activated by adding the flag -DQUAD to
the FPM_FFLAGS environment variable.
To use this package as a dependency in another fpm project, add the following to the fpm.toml file:
Test¶
The package has been developed and tested using
the gnu gfortran and the intel ifx compilers.
You can run the test routines with:
Example¶
An example program that uses the linalg package can be found in the folder app. You can run this program with:
