ESMF-7.1.0r-foss-2017b.eb 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. name = 'ESMF'
  2. version = '7.1.0r'
  3. homepage = 'http://sourceforge.net/projects/esmf'
  4. description = """The Earth System Modeling Framework (ESMF) is software for building and coupling weather,
  5. climate, and related models."""
  6. toolchain = {'name': 'foss', 'version': '2017b'}
  7. toolchainopts = {'usempi': True}
  8. source_urls = [SOURCEFORGE_SOURCE]
  9. sources = ['%%(namelower)s_%s_src.tar.gz' % '_'.join(version.split('.'))]
  10. patches = ['ESMF-6.1.1_libopts.patch']
  11. checksums = [
  12. 'ae9a5edb8d40ae97a35cbd4bd00b77061f995c77c43d36334dbb95c18b00a889', # esmf_7_1_0r_src.tar.gz
  13. '3851627f07c32a7da55d99072d619942bd3a1d9dd002e1557716158e7aacdaf4', # ESMF-6.1.1_libopts.patch
  14. ]
  15. dependencies = [
  16. ('netCDF', '4.6.1'),
  17. ('netCDF-Fortran', '4.4.5'),
  18. ('netCDF-C++4', '4.3.0'),
  19. ]
  20. buildopts = 'ESMF_NETCDF_INCLUDE=$EBROOTNETCDFMINFORTRAN/include '
  21. buildopts += 'ESMF_NETCDF_LIBS="`nc-config --libs` `nf-config --flibs` `ncxx4-config --libs`"'
  22. # too parallel causes the build to become really slow
  23. maxparallel = 8
  24. moduleclass = 'geo'