-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfml-0.8.eb
More file actions
29 lines (21 loc) · 782 Bytes
/
Copy pathfml-0.8.eb
File metadata and controls
29 lines (21 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
easyblock = 'Tarball'
name = 'fml'
version = '0.8'
homepage = 'https://github.com/cvsindelar/FastModLoad'
description = 'Fast Module Loader for Lmod-Based HPC Software Stacks'
toolchain = SYSTEM
source_urls = ['https://github.com/cvsindelar/fml/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
start_dir = 'fml-%(version)s'
sanity_check_paths = {
'files': ['fml.sh'],
'dirs': ['.'],
}
modluafooter = '''
local script = pathJoin(root, "fml.sh")
execute {cmd="source " .. script, modeA={"load"}}
execute {cmd="echo '' >&2", modeA={"load"}}
execute {cmd="echo 'Fast Module Loading activated.' >&2", modeA={"load"}}
execute {cmd="echo Note: to turn off Fast Module Loading, do 'module purge' or 'module unload fml' >&2", modeA={"load"}}
'''
moduleclass = 'tools'