mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

modified: b/Boost/Boost-1.77.0-gompi-2021a.eb modified: c/CMake/CMake-3.16.2.eb new file: e/ELPA/ELPA-2019.11.001-intel-2021a.eb modified: e/ELPA/ELPA-2023.11.001-intel-2023b.eb modified: h/HDF5/HDF5-1.10.6-intel-2020a.eb modified: i/IOTK/IOTK-1.2.2-intel-2020a.eb modified: j/Java/Java-1.8.0_221.eb modified: n/NVHPC/NVHPC-21.9.eb modified: n/netCDF-Fortran/netCDF-Fortran-4.5.2-intel-2020a.eb modified: n/netCDF/netCDF-4.7.3-intel-2020a.eb new file: p/PETSc/PETSc-3.21.2-foss-2022b.eb new file: p/petsc4py/petsc4py-3.21.2-foss-2022b.eb modified: q/QMCPACK/QMCPACK-3.14.0-foss-2021a-Python-3.9.5.eb new file: q/QuantumESPRESSO/QuantumESPRESSO-6.7-intel-2020a-MaX.eb new file: q/QuantumESPRESSO/QuantumESPRESSO-7.2-intel-2021a.eb new file: q/QuantumESPRESSO/QuantumESPRESSO-7.3-intel-2021a.eb new file: q/QuantumESPRESSO/QuantumESPRESSO-7.3.1-intel-2023b-gpu.eb new file: s/SLEPc/SLEPc-3.21.1-foss-2022b.eb new file: s/slepc4py/slepc4py-3.21.1-foss-2022b.eb new file: s/sqsgenerator/sqsgenerator-0.3-conda.eb modified: s/sqsgenerator/sqsgenerator-0.3-foss-2023b-Python-3.11.5.eb new file: y/Yambo/Yambo-5.2.3-intel-2020a.eb
51 lines
1.4 KiB
Plaintext
51 lines
1.4 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.Python-NumPy', '1.83.0'),
|
|
]
|
|
|
|
use_pip = True
|
|
|
|
#SQS_Boost_INCLUDE_DIR="${CONDA_PREFIX}/include" \
|
|
#SQS_Boost_LIBRARY_DIR_RELEASE="${CONDA_PREFIX}/lib" \
|
|
#CMAKE_CXX_COMPILER="x86_64-conda-linux-gnu-g++" \
|
|
#CMAKE_CXX_FLAGS="-DNDEBUG -O2 -mtune=native -march=native" \ # optional
|
|
|
|
preinstallopts = 'pip install --prefix=%(installdir)s --no-deps --no-build-isolation -r docs/requirements.txt && '
|
|
preinstallopts += 'SQS_BOOST_INCLUDE_DIR=$EBROOTBOOST/include '
|
|
preinstallopts += 'SQS_Boost_LIBRARY_DIR_RELEASE=$EBROOTBOOST/lib '
|
|
preinstallopts += 'SQS_USE_MPI=ON '
|
|
|
|
sanity_check_paths = {
|
|
'files': [
|
|
'bin/sqsgen'],
|
|
'dirs': [
|
|
'bin',
|
|
'lib']}
|
|
|
|
moduleclass = 'lang'
|