pda_test.f is a program that calls all user-callable routines in the library. The command
should succeed. The test consist of the successful linking, and an error message indicates that the library is incomplete or has inconsistent module names. The compiled program cannot be executed.
Erfplot.f can be compiled and linked against PDA and PGPLOT. It produced the title graph.
For the FFT routines Ffttest.f can be compiled and linked. It has to be linked with PDA and NAG. Ffttest.f convolves two test arrays by multiplying their Fourier transforms. This is done using NAG routines, and then using FFTPACK routines, and the differences between the results (together with timings) are displayed. Timings are averaged over 2000 convolutions. The commands
should indicate whether the FFT routines work properly. The output will not be exactly as in the distributed file, since it depends on the platform, CPU load, etc.
There are various other test routines included in the PDA distribution:
Covartest.f- Tests PDA_NSCOR, PDA_V11 and PDA_COVMAT.
E02cbfe.f- Tests PDA_CHE2R.
Lintest.f- Tests PDA_LSQR.
Nonlin2test.f- Tests PDA_DQED.
Nonlintest.f- Tests PDA_DNLS1E and PDA_DENORM.
Normtest.f- Tests PDA_PPND16.
Randtest.f- Tests the random number generators.
Simann.f- Tests PDA_SA.
Sorttest.f- Tests the sorting routines.
Subplex.f- Tests PDA_SUBPLX.
Sumsl.f- Tests PDA_SUMSL.
Sf2dtest.f- Tests PDA_DB2INK and PDA_DB2VAL.
Sf2dtest2.f- Tests PDA_IDBVIP and PDA_IDSFFT.
These test programs can be compiled and linked as follows:
Some of these test programs write results to standard output. For such programs the PDA distribution includes a file with name <prog>.out containing a set of “standard” results with which your own results can be compared.