In the discussion below, it will be assumed that the source code for DDSCAT.5a has been installed in a directory DDA/src . To compile the code on a Unix system, position yourself in the directory DDA/src. The Makefile supplied has compiler options appropriate for Sun Fortran under Solaris 2.x. If you have a different Fortran compiler, you will probably need to edit Makefile to provide the desired compiler options. Makefile contains samples of compiler options for selected operating systems, including HP AUX, IBM AIX, and SGI IRIX operating systems.
So far as we know, there are only two operating-system-dependent aspects of DDSCAT.5a: (1) the device number to use for ``standard output", and (2) the TIMEIT routine. There is, in addition, one installation-dependent aspect to the code: the procedure for linking to the netCDF library (see §9.3 for discussion of the possibility of writing binary files using the machine-independent netCDF standard).