Skip to content

Commit

Permalink
#445 fds ec
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelToman committed Oct 30, 2024
1 parent 037589a commit 3dc022d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions 445_FDS/fds.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
easyblock = 'ConfigureMake'

name = 'FDS'
version = '6.9.1'

homepage = 'https://pages.nist.gov/fds-smv'
description = """Fire Dynamics Simulator (FDS) is a large-eddy simulation (LES) code for low-speed flows,
with an emphasis on smoke and heat transport from fires."""

toolchain = {'name': 'intel', 'version': '2023a'}
toolchainopts = {'pic': True, 'usempi': True, 'openmp': True}

source_urls = ['https://github.com/firemodels/fds/archive/']
sources = ['%(name)s-%(version)s.tar.gz']
checksums = ['e0fe22d1386dc06512489ddf190dbdbee4c9865856f4a7ca48aec8425b4c0867']

unpack_options = '--strip-components=1'

start_dir = 'Build'

# just run make in the install dir
skipsteps = ['configure', 'install']
buildininstalldir = True

buildopts = 'impi_intel_linux_openmp &&'
buildopts += ' cd %(installdir)s/Build && ln -s fds_impi_intel_linux_openmp fds'

modextrapaths = {'PATH': 'Build'}

sanity_check_paths = {
'files': ['Build/fds'],
'dirs': [],
}

sanity_check_commands = [
"fds 2>&1 | grep 'MPI version'",
]

moduleclass = 'phys'

0 comments on commit 3dc022d

Please sign in to comment.