-
Notifications
You must be signed in to change notification settings - Fork 1
/
CESM-deps-2-foss-2022a.eb
52 lines (44 loc) · 1.81 KB
/
CESM-deps-2-foss-2022a.eb
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
45
46
47
48
49
50
51
52
easyblock = 'Bundle'
name = 'CESM-deps'
version = '2'
homepage = 'https://www.cesm.ucar.edu/models/cesm2/'
description = """CESM is a fully-coupled, community, global climate model that
provides state-of-the-art computer simulations of the Earth's past, present,
and future climate states."""
# The following environment is suitable for CESM >= 2.2.0
toolchain = {'name': 'foss', 'version': '2022a'}
dependencies = [
('CMake', '3.23.1'),
('Python', '3.10.4'),
('lxml', '4.9.1'),
('Perl', '5.34.1'),
('XML-LibXML', '2.0207'),
('ESMF', '8.3.0'),
('netCDF', '4.9.0'),
('netCDF-Fortran', '4.6.0'),
('netCDF-C++4', '4.3.1'),
('PnetCDF', '1.12.3'),
('Subversion', '1.14.2'),
('git', '2.36.0', '-nodocs'),
('git-lfs', '3.2.0', '', SYSTEM),
]
components = [
# install extra configuration tools and files for VSC clusters
('cesm-config', '1.6.4', {
'easyblock': 'Tarball',
'source_urls': ['https://github.com/vub-hpc/%(name)s/archive'],
'sources': [{'download_filename': 'v%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}],
'checksums': ['acb632b54e1fbd186beb19a795e9887c9c8e7e4943cdda43b8bee0cad92444d8'],
'start_dir': '%(name)s-%(version)s',
}),
]
sanity_check_paths = {
'files': ['bin/update-cesm-machines', 'scripts/case.pbs', 'scripts/case.slurm'],
'dirs': ['machines', 'irods'],
}
usage = """Environment to build and run CESM v2 simulations
1. Download a release of CESM v2: `git clone -b release-cesm2.2.0 https://github.com/ESCOMP/cesm.git cesm-2.2.0`
2. Add external programs for CESM: `cd cesm-2.2.0; ./manage_externals/checkout_externals`
3. Update config files: `update-cesm-machines cime/config/cesm/machines/ $EBROOTCESMMINDEPS/machines/`
4. Create case: `cd cime/scripts && ./create_newcase --machine ...`"""
moduleclass = 'geo'