forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: Palabos-cavity3d-2.3.0-foss-2023a.eb
- Loading branch information
alberta
committed
Sep 30, 2024
1 parent
49e4034
commit da43406
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
easybuild/easyconfigs/p/Palabos-cavity3d/Palabos-cavity3d-2.3.0-foss-2023a.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'Palabos-cavity3d' | ||
version = '2.3.0' | ||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
||
source_urls = ['https://gitlab.com/unigespc/palabos/-/archive/v%(version)s'] | ||
sources = ['palabos-v%(version)s.tar.gz'] | ||
checksums = ['2085de7b06cc9c4a7b3457f7c2d17747d8960c0f861e32fc883acd504dfc1e23'] | ||
|
||
homepage = 'http://www.palabos.org/' | ||
description = """ | ||
Palabos (Parallel Lattice Boltzmann Solver) is a free software framework for | ||
fluid flow simulations based on the lattice Boltzmann method. | ||
""" | ||
|
||
builddependencies = [ | ||
('CMake', '3.26.3'), # CMake version compatible with foss/2023a | ||
] | ||
|
||
dependencies = [ | ||
('HDF5', '1.14.0'), # Palabos uses HDF5 for data management | ||
] | ||
|
||
start_dir = 'examples/benchmarks/cavity3d' | ||
|
||
# Disabling the installation step, the make install rule is not defined in the sources | ||
install_cmd = 'echo "No install step"' | ||
|
||
# Manually copy the compiled files after the build | ||
postinstallcmds = [ | ||
'mkdir -p %(installdir)s/bin', | ||
'cp ../cavity3d %(installdir)s/bin/', # Copy the binary to the bin folder | ||
] | ||
|
||
sanity_checks = { | ||
'files': [ | ||
'bin/cavity3d', # Check that the binary has been correctly installed in bin | ||
], | ||
'dirs': [], | ||
} | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/cavity3d'], # Only check the binary | ||
'dirs': [], # No directory checks like lib | ||
} | ||
moduleclass = 'tools' |