-
Notifications
You must be signed in to change notification settings - Fork 783
Expand file tree
/
Copy pathNCO-5.1.9-intel-2022a.eb
More file actions
44 lines (35 loc) · 1.32 KB
/
NCO-5.1.9-intel-2022a.eb
File metadata and controls
44 lines (35 loc) · 1.32 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
easyblock = 'ConfigureMake'
name = 'NCO'
version = '5.1.9'
homepage = "https://github.com/nco/nco"
description = """The NCO toolkit manipulates and analyzes data stored in netCDF-accessible formats,
including DAP, HDF4, and HDF5."""
toolchain = {'name': 'intel', 'version': '2022a'}
source_urls = ['https://github.com/nco/nco/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['9cd90345c1e3860a690b53fd6c08b721d631a646d169431927884c99841c34e9']
builddependencies = [
('Bison', '3.8.2'),
('flex', '2.6.4'),
]
dependencies = [
('UDUNITS', '2.2.28'),
('expat', '2.4.8'),
('ANTLR', '2.7.7', '-Java-11'),
('libdap', '3.20.11'),
('GSL', '2.7'),
('netCDF', '4.9.0'),
('ESMF', '8.3.0'), # ncremap needs ESMF_RegridWeightGen
]
configopts = "--enable-nco_cplusplus"
sanity_check_paths = {
'files': ['bin/nc%s' % x for x in ('ap2', 'atted', 'bo', 'diff', 'ea', 'ecat', 'es',
'flint', 'ks', 'pdq', 'ra', 'rcat', 'rename', 'wa')] +
['lib/libnco.a', 'lib/libnco.%s' % SHLIB_EXT, 'lib/libnco_c++.a', 'lib/libnco_c++.%s' % SHLIB_EXT],
'dirs': ['include'],
}
sanity_check_commands = [
"ncks -O -7 --cnk_dmn time,10 "
"%(builddir)s/%(namelower)s-%(version)s/data/in.nc %(builddir)s/%(namelower)s-%(version)s/data/in4.cdl"
]
moduleclass = 'tools'