Skip to content

Commit da43406

Browse files
author
alberta
committed
adding easyconfigs: Palabos-cavity3d-2.3.0-foss-2023a.eb
1 parent 49e4034 commit da43406

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
easyblock = 'CMakeMake'
2+
3+
name = 'Palabos-cavity3d'
4+
version = '2.3.0'
5+
toolchain = {'name': 'foss', 'version': '2023a'}
6+
7+
source_urls = ['https://gitlab.com/unigespc/palabos/-/archive/v%(version)s']
8+
sources = ['palabos-v%(version)s.tar.gz']
9+
checksums = ['2085de7b06cc9c4a7b3457f7c2d17747d8960c0f861e32fc883acd504dfc1e23']
10+
11+
homepage = 'http://www.palabos.org/'
12+
description = """
13+
Palabos (Parallel Lattice Boltzmann Solver) is a free software framework for
14+
fluid flow simulations based on the lattice Boltzmann method.
15+
"""
16+
17+
builddependencies = [
18+
('CMake', '3.26.3'), # CMake version compatible with foss/2023a
19+
]
20+
21+
dependencies = [
22+
('HDF5', '1.14.0'), # Palabos uses HDF5 for data management
23+
]
24+
25+
start_dir = 'examples/benchmarks/cavity3d'
26+
27+
# Disabling the installation step, the make install rule is not defined in the sources
28+
install_cmd = 'echo "No install step"'
29+
30+
# Manually copy the compiled files after the build
31+
postinstallcmds = [
32+
'mkdir -p %(installdir)s/bin',
33+
'cp ../cavity3d %(installdir)s/bin/', # Copy the binary to the bin folder
34+
]
35+
36+
sanity_checks = {
37+
'files': [
38+
'bin/cavity3d', # Check that the binary has been correctly installed in bin
39+
],
40+
'dirs': [],
41+
}
42+
43+
sanity_check_paths = {
44+
'files': ['bin/cavity3d'], # Only check the binary
45+
'dirs': [], # No directory checks like lib
46+
}
47+
moduleclass = 'tools'

0 commit comments

Comments
 (0)