name = 'netCDF' version = '4.3.2' homepage = 'http://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': 'intel', 'version': '2015b'} toolchainopts = {'pic': True, 'usempi': True} sources = ['v%(version)s.tar.gz'] source_urls = ['https://github.com/Unidata/netcdf-c/archive'] patches = [ 'netCDF-4.3.2-with-HDF-1.8.13.patch', 'netCDF-4.3.2-parallel-HDF.patch', ] dependencies = [('HDF5', '1.8.13')] builddependencies = [ ('CMake', '3.4.1'), ('Doxygen', '1.8.10'), ('cURL', '7.43.0'), ] # make sure both static and shared libs are built configopts = [ "-DCURL_LIBRARY=$EBROOTCURL/lib/libcurl.%s -DCURL_INCLUDE_DIR=$EBROOTCURL/include -DBUILD_SHARED_LIBS=ON" % SHLIB_EXT, "-DCURL_LIBRARY=$EBROOTCURL/lib/libcurl.%s -DCURL_INCLUDE_DIR=$EBROOTCURL/include -DBUILD_SHARED_LIBS=OFF" % SHLIB_EXT, ] moduleclass = 'data'