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
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-12-foss-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name = 'OpenFOAM'
version = '12'

homepage = 'https://www.openfoam.org/'
description = """OpenFOAM is a free, open source CFD software package.
OpenFOAM has an extensive range of features to solve anything from complex fluid flows
involving chemical reactions, turbulence and heat transfer,
to solid dynamics and electromagnetics."""

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

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = ['version-%(version)s.tar.gz']
patches = ['OpenFOAM-12-ThirdParty.patch']
checksums = [
{'version-%(version)s.tar.gz':
'e59fad54c62e64f1bb89dbaebe5f99a76dc0a6a91d9aad86042a7c4cef6d0744'},
{'OpenFOAM-12-ThirdParty.patch':
'b8a9abf3b8479d32d87654d833501f54abe57ceb9f06f7d2412a3e52d20108ec'},
]

builddependencies = [
('Bison', '3.8.2'),
('CMake', '3.29.3'),
('flex', '2.6.4'),
]

dependencies = [
('ncurses', '6.5'),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0'),
('SCOTCH', '7.0.5'),
('CGAL', '5.6.1'),
('ParaView', '5.13.2'),
('gnuplot', '6.0.1'),
('Zoltan', '3.901'),
]

moduleclass = 'cae'
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.5'),
('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'
Loading