netCDF 4.3.0 with HDF4, HDF5 and parallel
The following arguments are required for netCDF in order to compile the code. This will allow the support of HDF4, HDF5 and parallel IO.
Compile HDF4 - 4.2.9
Compile HDF5 - 1.8.11
Compile netCDF - 4.3.0 with HDF4 and HDF5 with parallel
Compile HDF4 - 4.2.9
./configure --enable-shared --disable-netcdf --disable-fortran --prefix=/usr/local
Compile HDF5 - 1.8.11
CC=mpicc ./configure --enable-parallel --prefix=/usr/local --with-zlib=/usr/include --enable-hl --enable-shared
Compile netCDF - 4.3.0 with HDF4 and HDF5 with parallel
CPPFLAGS="-I/usr/local/include -I/usr/include/hdf" CXXFLAGS=-I"/usr/local/include -I/usr/include/hdf" FFFLAGS="-I/usr/local/include -I/usr/include/hdf" FCFLAGS="-I/usr/local/include -I/usr/include/hdf" LDFLAGS=-L/usr/local/lib FC=mpif90 CXX=mpicxx CC=mpicc ./configure --enable-hdf4 --enable-netcdf4 --enable-shared --enable-dap
Comentaris