Skip to content

[GSL] [package list]

GSL/2.7.1-cpeCray-23.03-sequential (GSL-2.7.1-cpeCray-23.03-sequential.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider GSL/2.7.1-cpeCray-23.03-sequential.

EasyConfig:

easyblock = 'ConfigureMake'

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

name =          'GSL'
version =       local_GSL_version
versionsuffix = '-sequential'

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.

This version of GSL is compiled without OpenMP support and hence uses the
serial non-threaded version of the Cray Scientific Libraries.
"""

toolchain = {'name': 'cpeCray', 'version': '23.03'}
toolchainopts = {'opt': True, 'optarch': True, 'unroll': True, 'pic': True, 'verbose': True, 'openmp': False}

source_urls = [GNU_SOURCE]
sources =     [SOURCELOWER_TAR_GZ]
checksums =   ['dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b']

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]