Skip to content

Commit

Permalink
Merge pull request #12060 from lexming/20210129174840_new_pr_ESMF710r
Browse files Browse the repository at this point in the history
{geo}[foss/2019a] ESMF v7.1.0r
  • Loading branch information
smoors authored Feb 5, 2021
2 parents 7f3b494 + 5c5ea6a commit f08d014
Show file tree
Hide file tree
Showing 2 changed files with 670 additions and 0 deletions.
35 changes: 35 additions & 0 deletions easybuild/easyconfigs/e/ESMF/ESMF-7.1.0r-foss-2019a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name = 'ESMF'
version = '7.1.0r'

homepage = 'https://sourceforge.net/projects/esmf'
description = """The Earth System Modeling Framework (ESMF) is software for building and coupling weather,
climate, and related models."""

toolchain = {'name': 'foss', 'version': '2019a'}
toolchainopts = {'usempi': True, 'openmp': True, 'cstd': 'c++11', 'pic': True}

source_urls = [SOURCEFORGE_SOURCE]
sources = ['%%(namelower)s_%s_src.tar.gz' % '_'.join(version.split('.'))]
patches = [
'ESMF-6.1.1_libopts.patch',
'ESMF-7.1.0r_fix-load-stdio-header.patch',
]
checksums = [
'ae9a5edb8d40ae97a35cbd4bd00b77061f995c77c43d36334dbb95c18b00a889', # esmf_7_1_0r_src.tar.gz
'3851627f07c32a7da55d99072d619942bd3a1d9dd002e1557716158e7aacdaf4', # ESMF-6.1.1_libopts.patch
'6be3b40145fbcf9f55f078b2b05ddbd9fd06dc013f639a6e00dde56de0150840', # ESMF-7.1.0r_fix-load-stdio-header.patch
]

dependencies = [
('netCDF', '4.6.2'),
('netCDF-Fortran', '4.4.5'),
('netCDF-C++4', '4.3.0'),
]

buildopts = 'ESMF_NETCDF_INCLUDE=$EBROOTNETCDFMINFORTRAN/include '
buildopts += 'ESMF_NETCDF_LIBS="`nc-config --libs` `nf-config --flibs` `ncxx4-config --libs`"'

# too parallel causes the build to become really slow
maxparallel = 8

moduleclass = 'geo'
Loading

0 comments on commit f08d014

Please sign in to comment.