ESMF-8.0.1-foss-2020b.eb 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. name = 'ESMF'
  2. version = '8.0.1'
  3. homepage = 'https://www.earthsystemcog.org/projects/esmf/'
  4. description = """The Earth System Modeling Framework (ESMF) is a suite of software tools for developing
  5. high-performance, multi-component Earth science modeling applications."""
  6. toolchain = {'name': 'foss', 'version': '2020b'}
  7. toolchainopts = {'usempi': True}
  8. source_urls = ['https://github.com/esmf-org/esmf/archive/']
  9. sources = ['%%(name)s_%s.tar.gz' % '_'.join(version.split('.'))]
  10. patches = ['ESMF-6.1.1_libopts.patch']
  11. checksums = [
  12. '9172fb73f3fe95c8188d889ee72fdadb4f978b1d969e1d8e401e8d106def1d84', # ESMF_8_0_1.tar.gz
  13. '3851627f07c32a7da55d99072d619942bd3a1d9dd002e1557716158e7aacdaf4', # ESMF-6.1.1_libopts.patch
  14. ]
  15. dependencies = [
  16. ('netCDF', '4.7.4'),
  17. ('netCDF-Fortran', '4.5.3'),
  18. ('netCDF-C++4', '4.3.1'),
  19. ]
  20. buildopts = 'ESMF_F90COMPILEOPTS="-O -fPIC -m64 -mcmodel=small -pthread -ffree-line-length-none -fopenmp -fallow-argument-mismatch" '
  21. buildopts += 'ESMF_NETCDF_INCLUDE=$EBROOTNETCDFMINFORTRAN/include '
  22. buildopts += 'ESMF_NETCDF_LIBS="`nc-config --libs` `nf-config --flibs` `ncxx4-config --libs`" '
  23. # too parallel causes the build to become really slow
  24. maxparallel = 8
  25. moduleclass = 'geo'