Next: Compiling and Linking...
Up: Compiling and Linking
Previous: Leaving the netCDF Capability
Subroutine WRITENET (file writenet.f) provides the capability
to output
binary data in the netCDF standard format (see §9.3).
In order to use this routine (instead of dummywritenet.f),
it is necessary to take the following steps:
- Have netCDF already installed on your system (check with your
system administrator).
- Find out where netcdf.inc is located and
edit the include statement in writenet.f to specify the
correct path to netcdf.inc.
- Find out where the libnetcdf.a library is located, and edit
the Makefile so that the variable LIBNETCDF specifies the correct
path to this library.
- Edit the Makefile to ``comment out'' (with a # symbol in column 1)
the line writenet = dummywritenet and ``uncomment'' (remove the
# symbol) the line
writenet = writenet so that writenet.f will be compiled
instead of the dummy routine dummywritenet.f.
Bruce Draine
Thu Aug 10 09:34:16 EDT 2000