Skip to Content

GSL : GNU Scientific Library

The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License.

How to use GSL

A programming envirnment should be loaded before loading this module.

%module load gsl

To see which enviornment veriables are set, use :

%module show gsl

To compile and link a code that uses GSL,

%cc $GSL_INC test_gsl.c $GSL_LIB


Example Code for on how to use GSL library, test_gsl.c