name = 'ESMF' version = '8.0.0' 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': '2019b'} toolchainopts = {'usempi': True} source_urls = [SOURCEFORGE_SOURCE] sources = ['%%(namelower)s_%s_src.tar.gz' % '_'.join(version.split('.'))] patches = ['ESMF-6.1.1_libopts.patch'] checksums = [ '75c34c41806e703551b6b79566edf34c23f1eebcf821749e5320e860e565d94f', # esmf_8_0_0_src.tar.gz '3851627f07c32a7da55d99072d619942bd3a1d9dd002e1557716158e7aacdaf4', # ESMF-6.1.1_libopts.patch ] dependencies = [ ('netCDF', '4.7.1'), ('netCDF-Fortran', '4.5.2'), ('netCDF-C++4', '4.3.1'), ] 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'