netCDF  4.3.0
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Building NetCDF with Classic Library Only

It is possible to build the netCDF C libraries and utilities so that only the netCDF classic and 64-bit offset formats are supported, or the remote data access client is not built.

(See The netCDF File Format) for more information about the netCDF format variants. See the netCDF-DAP site for more information about remote client access to data on OPeNDAP servers.)

To build without support for the netCDF-4 formats or the additional netCDF-4 functions, but with remote access, use:

./configure --prefix=/home/ed/local --disable-netcdf-4
make check install

(Replace ``/home/ed/local'' with the name of the directory where netCDF is to be installed. The installation location specified with the –prefix option must be different from the source directory where the software is being built.)

Starting with version 4.1.1 the netCDF C libraries and utilities have supported remote data access, using the OPeNDAP protocols. To build with full support for netCDF-4 APIs and format but without remote client access, use:

./configure --prefix=/home/ed/local --disable-dap
make check install

To build without netCDF-4 support or remote client access, use:

./configure --prefix=/home/ed/local --disable-netcdf-4 --disable-dap
make check install

If you get the message that netCDF installed correctly, then you are done!


Generated on Tue Jul 9 2013 19:18:06 for netCDF. NetCDF is a Unidata library.