-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
037589a
commit 3dc022d
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
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,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' |