File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
easybuild/easyconfigs/p/Palabos-cavity3d Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
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'
You can’t perform that action at this time.
0 commit comments