The GSL library
This page was translated by an AI (LLM) with a cursory human check and is awaiting full review.
Description
The GSL (GNU Scientific Library) is a numerical library that offers a wide range of mathematical routines such as random number generators, operations for manipulating sparse and dense vectors and matrices, linear algebra routines, eigenvalue computation functions, partial differential equation solvers and much more.
Installed Versions
The versions installed on Jean Zay can be found using the following command:
module avail gsl
Environment
GSL is available in different environments. To list them, use the following command:
module show gsl
To use this library in other environments, please contact the User Support team.
With the command module show, you can also obtain information about the library access paths.
module show gslUsage
The library is accessible via the module command.
To load the default version into the current environment (or into the default environment if no environment is previously loaded):
module load gsl
or to load a specific version into a specific environment (gcc in this example):
module load gcc/9.1.0module load gsl/2.5
Link Editing
During compilation, it is necessary to add the options -lgsl -lgslcblas:
module load intel-compilersmodule load gslifort appel_gsl.f90 -lgsl -lgslcblas