-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from vub-hpc/2023a
add easyconfigs of CESM-deps and CESM for foss/2023a
- Loading branch information
Showing
3 changed files
with
74 additions
and
7 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
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,51 @@ | ||
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.2 and CTSM >= 5.2.0 | ||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
||
dependencies = [ | ||
('CMake', '3.26.3'), | ||
('Python', '3.11.3'), | ||
('lxml', '4.9.2'), | ||
('Perl', '5.36.1'), | ||
('XML-LibXML', '2.0209'), | ||
('ESMF', '8.6.0'), | ||
('netCDF', '4.9.2'), | ||
('netCDF-Fortran', '4.6.1'), | ||
('netCDF-C++4', '4.3.1'), | ||
('PnetCDF', '1.12.3'), | ||
('git', '2.41.0', '-nodocs'), | ||
('git-lfs', '3.5.1', '', SYSTEM), | ||
] | ||
|
||
components = [ | ||
# install extra configuration tools and files for VSC clusters | ||
('cesm-config', '1.7.0', { | ||
'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': ['c5aeb50595ca4d342a5024d593c2549acf16e72dadc5f39d9a7915d3dc8f3c13'], | ||
'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.2 https://github.com/ESCOMP/cesm.git cesm-2.2.2` | ||
2. Add external programs for CESM: `cd cesm-2.2.2; ./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' |
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,19 @@ | ||
easyblock = 'Bundle' | ||
|
||
name = 'CESM' | ||
version = '2' | ||
|
||
homepage = 'http://www.cesm.ucar.edu/models/cesm2/' | ||
description = "Bundle of tools to perform post-processing tasks on CESM data." | ||
|
||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
||
dependencies = [ | ||
('Python', '3.11.3'), | ||
('CESM-deps', '2'), | ||
('NCO', '5.1.9'), | ||
('CDO', '2.2.2'), | ||
('ncview', '2.1.8'), | ||
] | ||
|
||
moduleclass = 'geo' |