Unpack the djbfft package:
gunzip djbfft-0.76.tar tar -xf djbfft-0.76.tar cd djbfft-0.76
Decide where to install djbfft. The default installation directory is /usr/local/djbfft. To change this directory, edit conf-home now.
Compile the djbfft library and test programs:
As root, install the library and include files:
make setup checkNow you can use djbfft in your programs by compiling with -I/usr/local/djbfft/include and linking with /usr/local/djbfft/lib/djbfft.a.
./accuracySingle-precision (r4 and c4) errors should be on the scale of 10^-8. Double-precision (r8 and c8) errors should be on the scale of 10^-16. If you see any double-precision results larger than 10^-12, please let me know.
Check the rms errors for a spanning set of transforms:
./accuracy2Note that this test takes a while to run.
Time the library:
./speedThe result is a detailed speed report.
To report success:
( echo 'First M. Last'; cat `cat SYSDEPS` ) \ | mail firstname.lastname@example.orgReplace First M. Last with your name.