FGSL - A Fortran interface to the GNU Scientific Library

This web page provides the source code for a portable, object-based Fortran interface to the GNU scientific library a collection of numerical routines for scientific computing. The package is licensed under the GPL. Please be aware that use of this software package is at your own risk.

  • Download version 1.6.0 (for use with GSL 2.7)
  • Browse README and NEWS files (also included in source package)

The code repository is maintained at Github. Users of FGSL are encouraged to send bug reports via the Github ticket system.

Table of released versions

Versioncomments
1.6.0for use with GSL 2.7
1.5.0for use with GSL 2.6
1.4.0for use with GSL 2.5
1.3.0for use with GSL 2.4
1.2.0for use with GSL 2.3
1.1.0for use with GSL 2.1. It can also be used with GSL 2.2.1, but does not cover new features in that release
1.0.0please continue to use this together with GSL 1.x
0.9.4
0.9.3
0.9.2
0.9.1
0.9
0.8.1
0.7


Further information

This section particularly discusses the installation procedures for the most common Linux distributions, as well as for MacOS X. Credits are due to Tom Schoonjans for providing the builds and the below information.

Redhat EL/Fedora/CentOS/Scientific Linux 6 distributions

Gain access to the repository with:

  • Redhat EL6

    su -c 'rpm -Uvh http://lvserver.ugent.be/yum/xmi-repo-key-6.0-1.el6.noarch.rpm'

  • Redhat EL7

    su -c 'rpm -Uvh http://lvserver.ugent.be/yum/xmi-repo-key-7.0-1.el7.noarch.rpm'

  • Fedora (19,20,21,23)

    su -c 'rpm -Uvh http://lvserver.ugent.be/yum/xmi-repo-key-fedora.noarch.rpm'

Afterwards download the packages with:

su -c 'yum install fgsl fgsl-devel fgsl-doc'

Debian and Ubuntu

Import our public key:

curl http://lvserver.ugent.be/apt/xmi.packages.key | sudo apt-key add -

Next, add the package download location corresponding to your distribution to the /etc/apt/sources.list file (as root): 

  • Debian Squeeze:
    deb http://lvserver.ugent.be/apt/debian squeeze stable
    deb-src http://lvserver.ugent.be/apt/debian squeeze stable
    
  • Debian Wheezy:
    deb http://lvserver.ugent.be/apt/debian wheezy stable
    deb-src http://lvserver.ugent.be/apt/debian wheezy stable
    
  • Debian Jessie:
    deb http://lvserver.ugent.be/apt/debian jessie stable
    deb-src http://lvserver.ugent.be/apt/debian jessie stable
    
  • Ubuntu Utopic:
    deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu utopic stable
    deb-src http://lvserver.ugent.be/apt/ubuntu utopic stable
    
  • Ubuntu Precise:
    deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu precise stable
    deb-src http://lvserver.ugent.be/apt/ubuntu precise stable
    
  • Ubuntu Quantal, Raring and Saucy: 
    FGSL support for these releases has been dropped, in line with official Ubuntu policy.
  • Ubuntu Trusty:
    deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu trusty stable
    deb-src http://lvserver.ugent.be/apt/ubuntu trusty stable
  • Ubuntu Vivid:
    deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu vivid stable
    deb-src http://lvserver.ugent.be/apt/ubuntu vivid stable
  • Ubuntu 15.10 Wily:
    deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu wily stable
    deb-src http://lvserver.ugent.be/apt/ubuntu wily stable

Update the apt cache with:

sudo apt-get update

Afterwards, you should be able to install fgsl with:

sudo apt-get install libfgsl0 libfgsl0-dev libfgsl0-doc

MacOS

MacPorts provides builds of FGSL for installation on systems running MacOS X.

Forum article

The August 2007 edition of SIGPLAN Fortran Forum contains an article on some aspects of FGSL. A correction for an error in a section of this article which describes some ideas for future developments is also available.