Skip to content

[GSL] [package list]

GSL/2.7-cpeAMD-21.06 (GSL-2.7-cpeAMD-21.06.eb)

This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/g/GSL/GSL-2.7-cpeAMD-21.06.eb. The corresponding module would be GSL/2.7-cpeAMD-21.06.

easyblock = 'ConfigureMake'

local_GSL_version =          '2.7'           # https://ftp.gnu.org/gnu/gsl/

name =          'GSL'
version =       local_GSL_version

homepage = 'http://www.gnu.org/software/gsl/'

whatis = [
    "Description: GSL is the GNU Scientific Library, a numerical library for C and C++ programmers."
]

description = """
The GNU Scientific Library (GSL) is a numerical library for C and C++
programmers. The library provides a wide range of mathematical routines
such as random number generators, special functions and least-squares
fitting.

GSL is compiled with OpenMP support.
"""

toolchain =     {'name': 'cpeAMD', 'version': '21.06'}
toolchainopts = {'opt': True, 'optarch': True, 'unroll': True, 'pic': True, 'verbose': True, 'openmp': True}

source_urls = [GNU_SOURCE]
sources =     [SOURCELOWER_TAR_GZ]

builddependencies = [ # Create a reproducible build environment.
    ('buildtools', '%(toolchain_version)s', '', True),
]

configopts = "--with-pic"

sanity_check_paths = {
    'files': ['lib/libgsl.so', 'lib/libgsl.a', 'lib/libgslcblas.so', 'lib/libgslcblas.a'],
    'dirs':  ['include', 'lib'],
}

sanity_check_commands = [
    'gsl-config --version',
    'gsl-histogram --version',
    'gsl-randist 0 10000 cauchy 30 | gsl-histogram -100 100 200 >/dev/null',
    'pkg-config --libs gsl',
]

moduleclass = 'numlib'

[GSL] [package list]