Skip to content

Commit

Permalink
adding easyconfigs: Palabos-cavity3d-2.3.0-foss-2023a.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
alberta committed Sep 30, 2024
1 parent 49e4034 commit da43406
Showing 1 changed file with 47 additions and 0 deletions.
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'

0 comments on commit da43406

Please sign in to comment.