The archive file datcom.zip contains the files:
|namelist.pdf||descriptions of the namelist data items|
|datcom.f||The complete source code|
|exwin.zip||The 11 sample cases from AFFDL-TR-79-3032 along with the expected output for each. Input files have the Window/DOS end-of-line characters|
|exlinux.zip||Same as exwin.zip, but with Unix end-of line|
In addition, you will probably want to download the user's manual and perhaps the complete DATCOM document. Links for these are on the references page for Digital Datcom.
To compile this program for your machine, use the command
gfortran datcom.f -o datcom.exe
Linux and Macintosh users may prefer to omit the .exe on the file name.
You will encounter a truly immense number of warning messages indicating that this program that is over 50 years old has incompatibilities with modern Fortran. Don't Panic! They are all warnings, not errors.
Launch the program by typing the command
at the command prompt. The program will ask you user for the name of the input data file. After reading the input data, the program produces datcom.out with the tabulated output data.
It is best if you compile the programs using your Fortran compiler with the appropriate options for your computer system. If you do not wish to do this, you may download datcomexecs.zip containing the files datcom.exe, datcom.mac, and datcom.lnx, the executable program for Windows, Mac OS X, and Linux, each compiled generically for an Intel CPU.