ESMF-7.1.0r-foss-2019a.eb 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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': '2019a'}
  7. toolchainopts = {'usempi': True}
  8. source_urls = [SOURCEFORGE_SOURCE]
  9. sources = ['%%(namelower)s_%s_src.tar.gz' % '_'.join(version.split('.'))]
  10. patches = [
  11. 'ESMF-6.1.1_libopts.patch',
  12. 'ESMF-7.1.0r_fix-ESMC_Conf.patch',
  13. ]
  14. checksums = [
  15. 'ae9a5edb8d40ae97a35cbd4bd00b77061f995c77c43d36334dbb95c18b00a889', # esmf_7_1_0r_src.tar.gz
  16. '3851627f07c32a7da55d99072d619942bd3a1d9dd002e1557716158e7aacdaf4', # ESMF-6.1.1_libopts.patch
  17. ]
  18. dependencies = [
  19. ('netCDF', '4.6.2'),
  20. ('netCDF-Fortran', '4.4.5'),
  21. ('netCDF-C++4', '4.3.0'),
  22. ]
  23. buildopts = 'ESMF_NETCDF_INCLUDE=$EBROOTNETCDFMINFORTRAN/include '
  24. buildopts += 'ESMF_NETCDF_LIBS="`nc-config --libs` `nf-config --flibs` `ncxx4-config --libs`"'
  25. # too parallel causes the build to become really slow
  26. maxparallel = 8
  27. moduleclass = 'geo'