mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: h/HyperQueue/HyperQueue-0.19.0.eb new file: o/Octopus/Octopus-2aada6cb0732113638b17ddf6f7f0be0-intel-2020b-mpi-parallel-restart.eb new file: p/Python/Python-3.11.5-GCCcore-13.2.0-sqsgenerator.eb modified: p/pymatgen/pymatgen-2022.0.12-foss-2020b.eb new file: s/sqsgenerator/sqsgenerator-0.3-foss-2023b-Python-3.11.5.eb
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
# IT4Innovations
|
|
# LK 2024
|
|
|
|
easyblock = 'PythonPackage'
|
|
|
|
name = 'sqsgenerator'
|
|
version = '0.3'
|
|
versionsuffix = '-Python-3.11.5'
|
|
|
|
homepage = 'https://github.com/dnoeger/sqsgenerator'
|
|
description = """This package is a Special Quasirandom Structure generator written in Python3/Cython.
|
|
Please note that the programm currently only works with Python 3."""
|
|
|
|
toolchain = {'name': 'foss', 'version': '2023b'}
|
|
toolchainopts = {'pic': True, 'usempi': True}
|
|
|
|
source_urls = ['https://github.com/dgehringer/sqsgenerator/archive/refs/tags/']
|
|
sources = ['v%(version)s.tar.gz']
|
|
checksums = ['6bd8299e50860d47cdec99809e006b5caa5c4c9774fe189b85374ebd2bbf88ba']
|
|
|
|
builddependencies = [
|
|
('CMake', '3.27.6'),
|
|
]
|
|
|
|
dependencies = [
|
|
('Python', '3.11.5'),
|
|
('GMP', '6.3.0'),
|
|
('Boost', '1.83.0'),
|
|
('SciPy-bundle', '2023.11'),
|
|
# ('pymatgen', '2022.0.12'),
|
|
]
|
|
|
|
use_pip = True
|
|
preinstallopts = 'pip install --prefix=%(installdir)s --no-deps --no-build-isolation -r docs/requirements.txt && '
|
|
preinstallopts += 'SQS_BOOST_ROOT=$EBROOTBOOST '
|
|
preinstallopts += 'SQS_USE_MPI=ON '
|
|
|
|
sanity_check_paths = {
|
|
'files': [
|
|
'bin/sqsgen'],
|
|
'dirs': [
|
|
'bin',
|
|
'lib']}
|
|
|
|
moduleclass = 'lang'
|