Installation of GSL

GNU Scientific Library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. GSL should be readily packaged by most Linux distributions. Don't forget to install a development version of the library.

Below is a short summary of instructions on how to compile and install GSL by hand (for the case you wish to do so).

How to compile and install GSL by hand

After you downloaded the GSL library and unzip the files, run ./configure --prefix=/path/to/gsl/ followed by make and make install.

Interfacing deal.II to GSL

Support for GSL will be enabled automatically if a system wide installation of GSL can be found. To use a self compiled version, specify


    -DGSL_DIR=/path/to/gsl
      
when invoking cmake.

You can override the autodetection by manually setting


    -DDEAL_II_WITH_GSL=OFF|ON
      
.


Valid HTML 4.01! Valid CSS!