name = 'netCDF-Fortran' version = '4.5.2' homepage = 'https://www.unidata.ucar.edu/software/netcdf/' description = """NetCDF (network Common Data Form) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.""" toolchain = {'name': 'iimpi', 'version': '2020a'} toolchainopts = {'pic': True, 'usempi': True} source_urls = ['https://github.com/Unidata/netcdf-fortran/archive/'] sources = ['v%(version)s.tar.gz'] checksums = ['0b05c629c70d6d224a3be28699c066bfdfeae477aea211fbf034d973a8309b49'] builddependencies = [ ('M4', '1.4.18'), ] dependencies = [('netCDF', '4.7.4')] 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" ' # (too) parallel build fails, but single-core build is fairly quick anyway (~1min) parallel = 1 moduleclass = 'data'