GSL/2.7.1-cpeGNU-22.06-OpenMP (GSL-2.7.1-cpeGNU-22.06-OpenMP.eb)
This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/g/GSL/GSL-2.7.1-cpeGNU-22.06-OpenMP.eb. The corresponding module would be GSL/2.7.1-cpeGNU-22.06-OpenMP.
easyblock = 'ConfigureMake'
local_GSL_version = '2.7.1' # https://ftp.gnu.org/gnu/gsl/
name = 'GSL'
version = local_GSL_version
versionsuffix = '-OpenMP'
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 with OpenMP support and hence uses the
OpenMP parallel multithreaded version of the Cray Scientific Libraries.
"""
toolchain = {'name': 'cpeGNU', 'version': '22.06'}
toolchainopts = {'opt': True, 'optarch': True, 'unroll': True, 'pic': True, 'verbose': True, 'openmp': True}
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'