2004.01.04

Tentative Plan for fixing netCDF problem:

(1) add variable IWRKSC to arg list of WRITESCA
(2) use IWRKSC to control writing to .sca files
(3) change code in DDSCAT so that WRITESCA is called for each orientation
    even if IWRKSC=0

Make this release 6.01

==============================================================================


This directory contains a "clean" version of DDSCAT version 6.01, that is, 
MPI enabled but not including the SCLDR prescription for polarizabilities. 
This directory was created on 7/10/2003 from files in /u/draine/DDA/ver6.0/src
and files in /u/collinge/DDSCAT/ver6a01_src. Where possible, the oldest 
applicable modification date has been preserved.

The Makefile in this directory has been modified from Draine's personal 
version, so it is messier than the "distribution" version. Probably some 
changes needed anyway in order to make the MPI version of DDSCAT as easy 
as possible for the user to compile and use.

DDSCAT version 6.01 as contained in this directory differs from version 6.0 
in /u/draine/DDA/ver6.0/src in the following respects:

	-6 new modules have been added:
	 
		farg.f -- needed for MPI code

		lapackslamc1.f -- added by Draine to fix bug in some 
			lapack routine

		mpi_fake.f -- needed for MPI code 

		mpi_subs.f -- needed for MPI code

		namid.f -- needed for MPI code

		tarspharm.f -- new target routine (possibly not intended 
			for distribution with this version?)

	-15 other modules have been altered (changes are not reflected in 
		module "histories" unless specifically noted, but generally 
		are noted in the file README2):

		alpha.f -- argument list changed, some new variables added 
			for SCLDR prescription, but the actual SCLDR 
			polarizability prescription code has been removed

		cgcommon.f -- changes made by Draine and documented in history

		DDSCAT.f -- MPI functionality added, including new variables, 
			MPI hooks, some new subroutines included in the 
			module mpi_subs.f, buffered output to files (the 
			latter documented in history)

			 -- also some new variables added in anticipation of 
			SCLDR polarizability prescription, getfml argument 
			list updated, small changes made to some format 
			statements

		extend.f -- small change made regarding treatment of IOCC

		getfml.f -- argument list changed, alpha argument list changed,
			also corrected error in location of 1st call to alpha 
			subroutine, removed calls to restore subroutine

		lapackblas.f -- changes made by Draine and documented (?) in 
			history

		lapacksubs.f -- same as above comment

		nuller.f -- change made in how IOCC is treated

		reapar.f -- changes made by Draine to accept SPHARM target 
			option (not intended for distribution?) and documented 
			in history

		reduce.f -- change made in how IOCC is treated

		rotate.f -- changes made by Draine to correct a bug, and documented 
			in history

		target.f -- changes made by Draine to include SPHARM option and 
			documented in history (intended for distribution?)

		tarnsp.f -- changes made by Draine to correct error and documented 
			in history (intended for distribution?)

		version.f -- changed version to 6.01

		writesca.f -- altered some format statements

	-1 module is no longer needed (but still present):

		restore.f -- calls to subroutine RESTORE were commented out of 
			subroutine GETFML; after an error in GETFML was corrected, 
			the RESTORE calls were no longer appropriate

