Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Based on the EasyConfig templates provided my Alex Domingo
# Author: J. Saßmannshausen (Imperial College London/UK)

easyblock = 'CMakeMake'

name = 'double-down'
version = '1.1.0'

homepage = 'https://github.com/pshriwise/double-down'
description = """
double-down : A double precision interface to Embree

double-down is a double precision interface to Embree via the
Mesh Oriented dAtaBase (MOAB).
"""

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

github_account = 'pshriwise'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['427e5e4ba59c53bddb1991cb34d86a52c11162175bfc6f802abccb5745cea3ba']

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

dependencies = [
('Embree', '4.4.0', '', SYSTEM),
('MOAB', '5.5.0'),
]

post_install_cmds = ['cd %(installdir)s && ln -s tools bin && cd -']
post_install_msgs = ['Linking tools to bin']

sanity_check_paths = {
'files': ['tools/closest_to_location', 'tools/ray_fire',
'lib/libdd.so'],
'dirs': ['include', 'tools'],
}

sanity_check_commands = [
"ray_fire --help",
]

moduleclass = 'vis'
67 changes: 67 additions & 0 deletions easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Based on the EasyConfig templates provided my Alex Domingo
# Author: J. Saßmannshausen (Imperial College London/UK)

easyblock = 'CMakeMake'

name = 'MOAB'
version = '5.5.0'

homepage = 'https://sigma.mcs.anl.gov/moab-library'
description = """
MOAB — The Mesh-Oriented datABase

The Mesh-Oriented datABase (MOAB) is a component for representing and
evaluating mesh data. MOAB can store and represent structured and
unstructured meshes consisting of elements in the finite element “zoo”,
including polygons and polyhedra.
"""

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

# This does not seem to work within EasyBuild, so we include download
# instructions instead:
# source_urls = ['https://web.cels.anl.gov/projects/sigma/downloads/moab/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['58969f8a1b209ec9036c08c53a6b7078b368eb3bf99d0368a4de5a2f2a8db678']

download_instructions = """
The automatic download does not work, so please manually download that file:
https://web.cels.anl.gov/projects/sigma/downloads/moab/moab-5.5.0.tar.gz
and place it in the correct folder.
"""

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

dependencies = [
('HDF5', '1.14.5'),
('netCDF', '4.9.2'),
('PnetCDF', '1.14.0'),
('METIS', '5.1.0'),
('ParMETIS', '4.0.3'),
('SCOTCH', '7.0.6'),
('Hypre', '2.32.0'),
('Zoltan', '3.901'),
]

configopts = '-DENABLE_MPI=ON -DENABLE_HDF5=ON -DENABLE_ZLIB=ON '
configopts += '-DENABLE_NETCDF=ON -DNETCDF_ROOT=$EBROOTNETCDF '
configopts += '-DENABLE_PNETCDF=ON -DPNETCDF_ROOT=$EBROOTPNETCDF '
configopts += '-DENABLE_METIS=ON -DENABLE_PARMETIS=ON '
configopts += '-DENABLE_ZOLTAN=ON -DZOLTAN_DIR=$EBROOTZOLTAN '

sanity_check_paths = {
'files': ['bin/mbpart', f'lib/lib%(name)s.{SHLIB_EXT}'],
'dirs': ['include'],
}

runtest = 'check'

sanity_check_commands = [
"mbpart --help",
]

moduleclass = 'vis'
46 changes: 46 additions & 0 deletions easybuild/easyconfigs/z/Zoltan/Zoltan-3.901-foss-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This easyconfig was created by the BEAR Software team at the University of Birmingham.
easyblock = 'ConfigureMake'

name = 'Zoltan'
version = '3.901'

homepage = "https://sandialabs.github.io/Zoltan/"
description = """Zoltan Dynamic Load Balancing and Graph Algorithm Toolkit"""

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

github_account = 'sandialabs'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['030c22d9f7532d3076e40cba1f03a63b2ee961d8cc9a35149af4a3684922a910']

dependencies = [
('gzip', '1.13'),
('SCOTCH', '7.0.6'),
('ParMETIS', '4.0.3'),
]

preconfigopts = 'mkdir build && cd build &&'
configure_cmd = '../configure'
configopts = ' '.join([
'--enable-gzip',
'--with-scotch',
'--with-scotch-incdir=$EBROOTSCOTCH/include',
'--with-scotch-libdir=$EBROOTSCOTCH/lib',
'--with-parmetis',
'--with-parmetis-incdir=$EBROOTPARMETIS/include',
'--with-parmetis-libdir=$EBROOTPARMETIS/lib',
'--disable-examples',
'--disable-tests',
])
prebuildopts = 'cd build &&'
buildopts = 'everything'
preinstallopts = 'cd build &&'

sanity_check_paths = {
'files': ['lib/libzoltan.a', 'include/zoltan.h'],
'dirs': [],
}

moduleclass = 'cae'