Previous: The Configure Script Next: Make Targets Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > Porting and Testing the NetCDF C/Fortran/C++ Libraries

17.8 Configure Options for NetCDF
The options to configure control what is built.
--prefix=/location Specify a location to install netCDF libraries. Default is /usr/local. You must have write permissions here to successfully run make install.
--enable-shared Will (attempt to) build shared libraries on your system.
--disable-cxx, --disable-f77, --disable-f90, --disable-examples --disable-utilities Turn off building of the C++ API, F77 API, F90 API, example programs, and ncgen/ncdump utilites.
--enable-netcdf-4 Builds netCDF so that netCDF-4/HDF5 files may be produced. NetCDF-4/HDF5 files are necessary to use any of the new features of netCDF-4, including compression, parallel I/O, and the enhanced data model. Without this option (that is, bu default) you do not get the netCDF-4/HDF5 features.
--with-hdf5=/location Specify the location of the HDF5 library. You must have HDF5-1.8.1 and zlib-1.2.3 (or 1.2.4). If they are not both in the same location, use the --with-zlib option as well.
--enable-large-file-tests Turn on tests for very large files (> 2 GB).
--with-temp-large=/location Specify a location for the large files. (Note that fortran large file test is still run in the build directory.)
--enable-parallel-tests Will attempt to run parallel I/O tests with mpiexec.

 


Previous: The Configure Script Next: Make Targets Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > Porting and Testing the NetCDF C/Fortran/C++ Libraries