Skip to content

Commit

Permalink
progress on #400 KMCLib
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKralCZ committed Sep 19, 2024
1 parent 0f52370 commit d8b9ff0
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions 400_KMCLib/KMCLib-2.0-a2-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
easyblock = 'CMakeMake'

name = 'KMCLib'
version = '2.0-a2'

homepage = 'https://github.com/leetmaa/KMCLib'
description = """KMCLib - a general framework for lattice kinetic Monte Carlo (KMC) simulations"""

toolchain = {'name': 'GCC', 'version': '12.3.0'}

source_urls = ['https://github.com/leetmaa/KMCLib/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['796620a67ad010df4b11734f703151c17441f82cef026f3d56386a34056d0213']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.26.3'),
]

dependencies = [
('Python', '3.11.3'),
]

# TODO
# exts_defaultclass = 'PythonPackage'
# exts_default_options = {
# 'source_urls': [PYPI_SOURCE],
# 'download_dep_fail': True,
# 'use_pip': True,
# 'sanity_pip_check': True,
# 'installopts': '',
# }
#
# exts_list = [
# (name, version, {
# 'source_urls': source_urls,
# 'sources': sources,
# 'start_dir': 'python',
# 'checksums': checksums,
# }),
# ]

modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["python -c 'from KMCLib import *'"]

moduleclass = 'math'

0 comments on commit d8b9ff0

Please sign in to comment.