Ferret-7.5.0-intel-2018b.eb 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. name = 'Ferret'
  2. version = '7.5.0'
  3. homepage = 'http://ferret.pmel.noaa.gov/'
  4. description = """Ferret is an interactive computer visualization and analysis environment
  5. designed to meet the needs of oceanographers and meteorologists analyzing large and complex gridded data sets."""
  6. toolchain = {'name': 'intel', 'version': '2018b'}
  7. toolchainopts = {'usempi': True, 'pic': True}
  8. source_urls = ['https://github.com/NOAA-PMEL/Ferret/archive/']
  9. sources = ['v%s.tar.gz' % version]
  10. patches = [
  11. 'Ferret-7.5.0_fix-tm_date_ok.patch',
  12. ]
  13. dependencies = [
  14. ('X11', '20180604'),
  15. # often used with CDO, matching netCDF versions
  16. ('netCDF', '4.6.1'),
  17. ('netCDF-Fortran', '4.4.4'),
  18. ('HDF5', '1.10.2'),
  19. ('zlib', '1.2.11'),
  20. ('Szip', '2.1.1'),
  21. ('cURL', '7.60.0'),
  22. ('ncurses', '6.1'),
  23. ('libreadline', '7.0'),
  24. ('Java', '1.8.0_192', '', True),
  25. ]
  26. parallel = 1
  27. prebuildopts = 'export CPP_X11="-I${EBROOTX11}/include" && '
  28. buildopts = 'CC="mpiicc -O" FC=mpiifort CDFLIB="-lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lsz"'
  29. modextravars = {
  30. 'FER_DIR': '%(installdir)s',
  31. 'FER_DSETS': '%(installdir)s/fer_dsets',
  32. 'FER_DATA': '. %(installdir)s/fer_dsets/data %(installdir)s/contrib',
  33. 'FER_DESCR': '. %(installdir)s/fer_dsets/descr',
  34. 'FER_GRIDS': '. %(installdir)s/fer_dsets/grids',
  35. 'FER_GO': '. %(installdir)s/go %(installdir)s/examples %(installdir)s/contrib',
  36. 'FER_EXTERNAL_FUNCTIONS': '%(installdir)s/ext_func/libs',
  37. 'FER_PALETTE': '. %(installdir)s/ppl',
  38. 'SPECTRA': '%(installdir)s/ppl',
  39. 'FER_FONTS': '%(installdir)s/ppl/fonts',
  40. 'PLOTFONTS': '%(installdir)s/ppl/fonts',
  41. }
  42. sanity_check_paths = {
  43. 'files': ['bin/ferret_v7.5'],
  44. 'dirs': [],
  45. }
  46. moduleclass = 'vis'