MicroHH/2.0.1-cpeGNU-24.03 (MicroHH-2.0.1-cpeGNU-24.03.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider MicroHH/2.0.1-cpeGNU-24.03
.
EasyConfig:
#DOC CPU version, compile for `partitioon/C` and run on LUMI-C.
easyblock = 'CMakeMake'
local_Boost_version = '1.83.0'
name = 'MicroHH'
version = '2.0.1'
homepage = 'https://microhh.org/'
whatis = [
'Description: For the simulation of turbulent flows in the atmosphere'
]
description = """
MicroHH is a computational fluid dynamics code designed to simulate turbulent flows in the atmosphere using Direct Numerical Simulation (DNS) and Large-Eddy Simulation (LES) techniques. Its capabilities span a range from highly idealized flows to realistic atmospheric boundary layers, incorporating all relevant processes, such as moist thermodynamics, radiation, land surface processes, and microphysics. The code is written in C++/CUDA and runs on both CPUs and GPUs.
"""
toolchain = {'name': 'cpeGNU', 'version': '24.03'}
sources = [{
'filename': '%(version)s.tar.gz',
'git_config': {
'url': 'https://github.com/microhh',
'repo_name': 'microhh',
'tag': '%(version)s',
'recursive': True,
'keep_git_dir': True,
},
}]
patches = [
('MicroHH-config-default.patch', 1),
]
dependencies = [
('cray-fftw', EXTERNAL_MODULE),
('cray-hdf5', EXTERNAL_MODULE),
('cray-netcdf', EXTERNAL_MODULE),
]
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
('Boost', local_Boost_version),
]
configopts = '-DUSEMPI=TRUE'
install_cmd = 'mkdir -p %(installdir)s/bin && cp microhh %(installdir)s/bin'
sanity_check_paths = {
'files': ['bin/microhh'],
'dirs': [],
}
moduleclass = 'chem'