Next: Installing NetCDF, Previous: Running make, Up: Building and Installing NetCDF on Unix Systems
Run "make test" to verify that the netCDF library and executables have been built properly. This will build and run various test programs that test the C, Fortran, and C++ interfaces as well as the "ncdump" and "ncgen" utility programs. Lines in the output beginning with "***" report on success or failure of the tests; any failures will be reported before halting the test. Compiler and linker warnings during the testing may be ignored.
Run the tests like this:
make test
If you plan to use the 64-bit offset format (introduced in version 3.6.0) to create very large files (i.e. larger than 2 GB), you should probably run “make extra_test” which tests the large file features. You must have 13 GB of free disk space for these tests to successfully run. (The test files are deleted when the test completes, so you get your disk space back.) You may wish to et environment variable TEMP_LARGE to a directory to which large files can be written. (For example, in csh: setenv TEMP_LARGE /ptmp/edh).
Run the large file tests like this:
make extra_test
If the tests fail See If Something Goes Wrong.