diff options
author | garbled <garbled@pkgsrc.org> | 1998-10-21 19:35:56 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-10-21 19:35:56 +0000 |
commit | ea588b5c080ddd4de6ad3447c46d3c9e40b1e76a (patch) | |
tree | 51405a82c1f764315e05537c71d30d5caf8b96aa /benchmarks/benchfft | |
parent | eb7167f28729afd68fddffad6276d5fd3804406b (diff) | |
download | pkgsrc-ea588b5c080ddd4de6ad3447c46d3c9e40b1e76a.tar.gz |
Initital import of benchfft-2.0
Benchmark your machine with a number of FFT algorithims
Diffstat (limited to 'benchmarks/benchfft')
-rw-r--r-- | benchmarks/benchfft/Makefile | 29 | ||||
-rw-r--r-- | benchmarks/benchfft/files/md5 | 4 | ||||
-rw-r--r-- | benchmarks/benchfft/patches/patch-aa | 70 | ||||
-rw-r--r-- | benchmarks/benchfft/pkg/COMMENT | 1 | ||||
-rw-r--r-- | benchmarks/benchfft/pkg/DESCR | 6 | ||||
-rw-r--r-- | benchmarks/benchfft/pkg/PLIST | 3 |
6 files changed, 113 insertions, 0 deletions
diff --git a/benchmarks/benchfft/Makefile b/benchmarks/benchfft/Makefile new file mode 100644 index 00000000000..ad5b3a027f8 --- /dev/null +++ b/benchmarks/benchfft/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/21 19:35:56 garbled Exp $ + +DISTNAME= benchfft-2.0 +CATEGORIES= benchmarks math +MASTER_SITES= ftp://theory.lcs.mit.edu/pub/fftw/benchfft/ ftp://theory.lcs.mit.edu/pub/fftw/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fftw-2.0.1${EXTRACT_SUFX} + +MAINTAINER= root@garbled.net +HOMEPAGE= http://theory.lcs.mit.edu/~benchfft/download.html + +GNU_CONFIGURE= yes +USE_GMAKE= yes + +do-configure: + (cd ${WRKDIR}/fftw-2.0.1 && ./configure) + +do-build: + (cd ${WRKDIR}/fftw-2.0.1 && gmake) + (cd ${WRKSRC} && ./configure) + (cd ${WRKSRC} && gmake) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bench ${PREFIX}/bin/bench-fft + ${INSTALL_SCRIPT} ${WRKSRC}/submit-script ${PREFIX}/bin/run-fftbench + +benchmark: + @${WRKSRC}/submit-script + +.include "../../mk/bsd.pkg.mk" diff --git a/benchmarks/benchfft/files/md5 b/benchmarks/benchfft/files/md5 new file mode 100644 index 00000000000..883e09ca00f --- /dev/null +++ b/benchmarks/benchfft/files/md5 @@ -0,0 +1,4 @@ +$NetBSD: md5,v 1.1.1.1 1998/10/21 19:35:56 garbled Exp $ + +MD5 (benchfft-2.0.tar.gz) = 1de7d8945ab8de7b6fceef86d0cdd78d +MD5 (fftw-2.0.1.tar.gz) = ebd79d36f85e995bab49bb675ec6847e diff --git a/benchmarks/benchfft/patches/patch-aa b/benchmarks/benchfft/patches/patch-aa new file mode 100644 index 00000000000..d67ed970789 --- /dev/null +++ b/benchmarks/benchfft/patches/patch-aa @@ -0,0 +1,70 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/10/21 19:35:56 garbled Exp $ +--- submit-script.orig Wed Oct 21 00:18:48 1998 ++++ submit-script Wed Oct 21 00:19:37 1998 +@@ -4,7 +4,7 @@ + # separately, and seems somewhat more stable than running them all at once + # (goodness knows why). + +-bench -submit -submit-info-only ++bench-fft -submit -submit-info-only + + echo + echo "You are done entering information now, and the benchmark is" +@@ -17,49 +17,49 @@ + echo + + echo "Running 1D benchmark (powers of two)" +-bench -1d -p2 -name "submit" ++bench-fft -1d -p2 -name "submit" + echo "------------------------------------------------------" >> submit.txt + echo "@@@@ bench.1d.p2.dat" >> submit.txt + cat submit.p2.1d.dat >> submit.txt + + echo "Running 1D benchmark (non-powers of two)" +-bench -1d -np2 -name "submit" ++bench-fft -1d -np2 -name "submit" + echo "------------------------------------------------------" >> submit.txt + echo "@@@@ bench.1d.np2.dat" >> submit.txt + cat submit.np2.1d.dat >> submit.txt + + echo "Running 3D benchmark (powers of two)" +-bench -3d -p2 -name "submit" ++bench-fft -3d -p2 -name "submit" + echo "------------------------------------------------------" >> submit.txt + echo "@@@@ bench.3d.p2.dat" >> submit.txt + cat submit.p2.3d.dat >> submit.txt + + echo "Running 3D benchmark (non-powers of two)" +-bench -3d -np2 -name "submit" ++bench-fft -3d -np2 -name "submit" + echo "------------------------------------------------------" >> submit.txt + echo "@@@@ bench.3d.np2.dat" >> submit.txt + cat submit.np2.3d.dat >> submit.txt + + echo "Running 1D real-complex benchmark (powers of two)" +-bench -r1d -p2 -name "submit" ++bench-fft -r1d -p2 -name "submit" + echo "------------------------------------------------------" >> submit.txt + echo "@@@@ bench.r1d.p2.dat" >> submit.txt + cat submit.p2.r1d.dat >> submit.txt + + echo "Running 1D real-complex benchmark (non-powers of two)" +-bench -r1d -np2 -name "submit" ++bench-fft -r1d -np2 -name "submit" + echo "------------------------------------------------------" >> submit.txt + echo "@@@@ bench.r1d.np2.dat" >> submit.txt + cat submit.np2.r1d.dat >> submit.txt + + echo "Running 2D real-complex benchmark (powers of two)" +-bench -r2d -p2 -name "submit" ++bench-fft -r2d -p2 -name "submit" + echo "------------------------------------------------------" >> submit.txt + echo "@@@@ bench.r2d.p2.dat" >> submit.txt + cat submit.p2.r2d.dat >> submit.txt + + echo "Running 2D real-complex benchmark (non-powers of two)" +-bench -r2d -np2 -name "submit" ++bench-fft -r2d -np2 -name "submit" + echo "------------------------------------------------------" >> submit.txt + echo "@@@@ bench.r2d.np2.dat" >> submit.txt + cat submit.np2.r2d.dat >> submit.txt diff --git a/benchmarks/benchfft/pkg/COMMENT b/benchmarks/benchfft/pkg/COMMENT new file mode 100644 index 00000000000..032c2284f5d --- /dev/null +++ b/benchmarks/benchfft/pkg/COMMENT @@ -0,0 +1 @@ +Benchmark your machine with a number of FFT algorithims diff --git a/benchmarks/benchfft/pkg/DESCR b/benchmarks/benchfft/pkg/DESCR new file mode 100644 index 00000000000..0dea5878e75 --- /dev/null +++ b/benchmarks/benchfft/pkg/DESCR @@ -0,0 +1,6 @@ +This is benchFFT 2.0, a program to measure the speed and accuracy of a +wide variety of FFT implementations in both C and Fortran. + +Included (in the c_source/ and f_source/ directories) are the source +codes for many publicly available FFTs, all of which are incorporated +into the benchmark. diff --git a/benchmarks/benchfft/pkg/PLIST b/benchmarks/benchfft/pkg/PLIST new file mode 100644 index 00000000000..09defcc40c1 --- /dev/null +++ b/benchmarks/benchfft/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/21 19:35:56 garbled Exp $ +bin/bench-fft +bin/run-fftbench |