Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions easybuild/easyconfigs/d/DOLFINx/DOLFINx-0.9.0.post1-foss-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
easyblock = 'CMakePythonPackage'

name = 'DOLFINx'
version = '0.9.0.post1'

homepage = 'https://github.com/FEniCS/dolfinx'
description = """DOLFINx is the computational environment of [FEniCSx](https://fenicsproject.org/),
and implements the FEniCS Problem Solving Environment in C++ and Python. DOLFINx is a new version of
DOLFIN and is actively developed. Documentation can be viewed at https://docs.fenicsproject.org."""

toolchain = {'name': 'foss', 'version': '2024a'}

source_urls = ['https://github.com/FEniCS/dolfinx/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['2bba19954eeb8a048493327037723b9bad9d945f74b71b1c5680faf47c6dbab5']

builddependencies = [
('pkgconf', '2.2.0'),
('binutils', '2.42'),
('CMake', '3.29.3'),
('scikit-build-core', '0.11.0'),
]

dependencies = [
('Python', '3.12.3'),
('spdlog', '1.12.0'),
('pugixml', '1.15'),
('Boost', '1.85.0'),
('PETSc', '3.23.5'),
('SLEPc', '3.23.2'),
('ParMETIS', '4.0.3'),
('HDF5', '1.14.5'),
('SCOTCH', '7.0.6'),
('KaHIP', '3.18'),
('Basix', '0.9.0'),
('FFCx', '0.9.0')
]

start_dir = 'cpp'
max_parallel = 8

preconfigopts = 'Basix_DIR=$EBROOTBASIX/lib/python3.12/site-packages/basix/lib/cmake/basix'

sanity_check_paths = {
'files': ['include/dolfinx.h', 'lib64/dolfinx/dolfinx.conf', 'lib64/libdolfinx.so'],
'dirs': ['include/dolfinx', 'lib/cmake/dolfinx']
}

exts_defaultclass = 'PythonPackage'
exts_list = [('fenics-dolfinx', version, {
'modulename': 'dolfinx',
'nosource': True,
'preinstallopts': 'DOLFINX_DIR=%(installdir)s',
'start_dir': '../python',
})]

modextrapaths = {
'DOLFINX_DIR': '.',
'CMAKE_PREFIX_PATH': 'lib64/cmake/%(namelower)s',
}

moduleclass = 'numlib'
31 changes: 31 additions & 0 deletions easybuild/easyconfigs/f/FFCx/FFCx-0.9.0-gfbf-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
easyblock = 'PythonPackage'

name = 'FFCx'
version = '0.9.0'

homepage = 'https://github.com/FEniCS/ffcx'

description = """
FFCx is a new version of the FEniCS Form Compiler. It is being actively developed and is compatible with DOLFINx.
"""

toolchain = {'name': 'gfbf', 'version': '2024a'}

source_urls = ['https://github.com/FEniCS/ffcx/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['afa517272a3d2249f513cb711c50b77cf8368dd0b8f5ea4b759142229204a448']

builddependencies = [
('CMake', '3.29.3'),
('scikit-build-core', '0.11.0'),
]

dependencies = [
('Python', '3.12.3'),
('SciPy-bundle', '2024.05'),
('pybind11', '2.12.0'),
('Basix', '0.9.0'),
('UFL', '2024.2.0'),
]

moduleclass = 'numlib'
28 changes: 28 additions & 0 deletions easybuild/easyconfigs/k/KaHIP/KaHIP-3.18-gompi-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
easyblock = 'CMakeMake'

name = 'KaHIP'
version = '3.18'

homepage = 'https://kahip.github.io/'
description = """The graph partitioning framework KaHIP -- Karlsruhe High Quality Partitioning."""

toolchain = {'name': 'gompi', 'version': '2024a'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/KaHIP/KaHIP/archive/refs/tags']
sources = ['v%(version)s.tar.gz']
checksums = ['e5003fa324362255d837899186cd0c3e42d376664f0d555e7e7a1d51334817c9']

builddependencies = [
('binutils', '2.42'),
('CMake', '3.29.3'),
]

sanity_check_paths = {
'files': ["lib/libkahip_static.a", "lib/libkahip.%s" % SHLIB_EXT] +
["lib/libparhip_interface_static.a", "lib/libparhip_interface.%s" % SHLIB_EXT] +
["include/%s" % x for x in ["kaHIP_interface.h", "parhip_interface.h"]],
'dirs': [],
}

moduleclass = 'math'
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
easyblock = 'PythonBundle'

name = 'scikit-build-core'
version = '0.11.0'

homepage = 'https://scikit-build.readthedocs.io/en/latest/'
description = """Scikit-build-core is a complete ground-up rewrite of scikit-build on top of
modern packaging APIs. It provides a bridge between CMake and the Python build
system, allowing you to make Python modules with CMake."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

builddependencies = [
('binutils', '2.42'),
('hatchling', '1.24.2'),
]

dependencies = [
('Python', '3.12.3'),
('Python-bundle-PyPI', '2024.06'),
('CMake', '3.29.3'),
]

exts_list = [
('pyproject-metadata', '0.9.1', {
'sources': ['pyproject_metadata-%(version)s.tar.gz'],
'checksums': ['b8b2253dd1b7062b78cf949a115f02ba7fa4114aabe63fa10528e9e1a954a816'],
}),
('scikit_build_core', version, {
'checksums': ['423d8b0885bf1942816c851f8ec7c1efc0a7ecad4f38ff43d5ba869a894b107b'],
}),
]

moduleclass = 'lib'
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/u/UFL/UFL-2024.2.0-gfbf-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'PythonPackage'

name = 'UFL'
version = '2024.2.0'

homepage = 'https://fenics.readthedocs.io/projects/ufl'

description = """
The Unified Form Language (UFL) is a domain specific language for
declaration of finite element discretizations of variational forms.
"""

toolchain = {'name': 'gfbf', 'version': '2024a'}

source_urls = ['https://github.com/FEniCS/ufl/archive/refs/tags/']
sources = ['%(version)s.tar.gz']
checksums = ['d9353d23ccbdd9887f8d6edab74c04fe06d818da972072081dbf0c25bc86f5a7']

builddependencies = [
('CMake', '3.29.3'),
('scikit-build-core', '0.11.0'),
]

dependencies = [
('Python', '3.12.3'),
('SciPy-bundle', '2024.05'),
('pybind11', '2.12.0'),
]

moduleclass = 'numlib'
Loading