spglib/1.16.3-cpeGNU-23.09 (spglib-1.16.3-cpeGNU-23.09.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider spglib/1.16.3-cpeGNU-23.09
.
EasyConfig:
# contributed by Anton Kozhevnikov and Simon Pintarelli (CSCS)
# Modified for LUMI by Peter Larsson
# Bump to the latest version and CPE version by Radim Janalik (CSCS)
easyblock = 'CMakeMake'
name = 'spglib'
version = '1.16.3'
homepage = 'https://spglib.github.io/spglib/'
whatis = [
'Description: Spglib is a library for finding and handling crystal symmetries written in C'
]
description = """
Spglib is a library for finding and handling crystal symmetries written in C.
"""
docurls = [
'C-API: https://spglib.github.io/spglib/api.html',
]
toolchain = {'name': 'cpeGNU', 'version': '23.09'}
toolchainopts = {'openmp': True, 'usempi': False}
source_urls = ['https://github.com/spglib/%(name)s/archive/']
sources = ['v%(version)s.tar.gz']
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
]
postinstallcmds = [
"mkdir %(installdir)s/include/%(name)s",
"cp %(installdir)s/include/%(name)s.h %(installdir)s/include/%(name)s/",
]
sanity_check_paths = {
'files': ['lib/libsymspg.a', 'lib/libsymspg.so'],
'dirs': ['include', 'lib', 'include/%(name)s'],
}
moduleclass = 'chem'