netCDF-Fortran-4.5.2-iimpi-2020a.eb 1009 B

123456789101112131415161718192021222324252627
  1. name = 'netCDF-Fortran'
  2. version = '4.5.2'
  3. homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
  4. description = """NetCDF (network Common Data Form) is a set of software libraries
  5. and machine-independent data formats that support the creation, access, and sharing of array-oriented
  6. scientific data."""
  7. toolchain = {'name': 'iimpi', 'version': '2020a'}
  8. toolchainopts = {'pic': True, 'usempi': True}
  9. source_urls = ['https://github.com/Unidata/netcdf-fortran/archive/']
  10. sources = ['v%(version)s.tar.gz']
  11. checksums = ['0b05c629c70d6d224a3be28699c066bfdfeae477aea211fbf034d973a8309b49']
  12. builddependencies = [
  13. ('M4', '1.4.18'),
  14. ]
  15. dependencies = [('netCDF', '4.7.4')]
  16. configopts = 'FCFLAGS="-O2 -fp-speculation=safe -fp-model source -fPIC -march=core-avx2 -align array64byte -fma -ftz -fomit-frame-pointer" CPPFLAGS="-O2 -march=core-avx2 -fma -ftz -fomit-frame-pointer $CPPFLAGS" '
  17. # (too) parallel build fails, but single-core build is fairly quick anyway (~1min)
  18. parallel = 1
  19. moduleclass = 'data'