debian/0000775000000000000000000000000012253246764007203 5ustar debian/rules0000775000000000000000000001014312061450063010244 0ustar #!/usr/bin/make -f ARCHITECTURE := $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed # old configure stuff needs a --target ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) archconfflags := $(archconfflags) --build $(DEB_HOST_GNU_TYPE) else archconfflags := $(archconfflags) --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif #--enable-k7 enable AMD K7 optimizations, including 3dNow! (single precision) #--enable-sse enable SSE optimizations (single precision only) #--enable-sse2 enable SSE2 optimizations (double precision only) #--enable-altivec enable Altivec optimizations (single precision only) ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 ifneq (,$(filter $(ARCHITECTURE), i386 amd64)) archconfflags_single := --enable-sse --enable-avx archconfflags_double := --enable-sse2 --enable-avx endif # no avx support in debian yet see #674760 ifneq (,$(filter $(ARCHITECTURE), kfreebsd-i386 kfreebsd-amd64)) archconfflags_single := --enable-sse archconfflags_double := --enable-sse2 endif ifeq ($(ARCHITECTURE), powerpc) archconfflags_single := --enable-altivec endif ifeq ($(ARCHITECTURE), armhf) archconfflags_single := --enable-neon endif endif ifneq (,$(filter $(ARCHITECTURE), i386 amd64 powerpc)) LONG := long PREC := single double long else PREC := single double LONG := endif ifneq (,$(findstring nog77,$(DEB_BUILD_OPTIONS))) archconfflags := $(archconfflags) F77="gfortran" else archconfflags := $(archconfflags) F77="gfortran -ff2c" endif SETCFLAGS := CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' CPPFLAGS='$(CPPFLAGS)' # common configure options archconfflags := $(archconfflags) --prefix=/usr --enable-shared --enable-threads --enable-openmp --enable-mpi --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) MPILIBS="$(shell mpicc --showme:link)" build-arch: dh_autoreconf # single precision $(SETCFLAGS) ./configure --enable-single $(archconfflags) $(archconfflags_single) $(MAKE) -C mpi $(MAKE) -C mpi install DESTDIR=`pwd`/debian/tmp-single # # double precision $(SETCFLAGS) ./configure $(archconfflags) $(archconfflags_double) $(MAKE) -C mpi $(MAKE) -C mpi install DESTDIR=`pwd`/debian/tmp-double # # long double precision ifeq (long,$(LONG)) $(SETCFLAGS) ./configure --enable-long-double $(archconfflags) $(MAKE) -C mpi $(MAKE) -C mpi install DESTDIR=`pwd`/debian/tmp-long; endif touch build-arch build-indep: touch build-indep build: build-stamp build-stamp: build-arch clean: clean1st clean1st: dh_testdir dh_testroot rm -f build-arch build-indep (cd doc ; [ ! -f Makefile ] || $(MAKE) -k clean) [ ! -f Makefile ] || $(MAKE) distclean -rm -f *.la threads/*.la *.pc -rm -f test_long_long-double -rm -f config.cache config.status config.log -rm -rf debian/tmp-single debian/tmp-double debian/tmp-long debian/tmp-quad rm -f mpi/mpi-bench chmod -R g-s . dh_autoreconf_clean dh_clean binary-indep: build-indep binary-arch: build-arch # build fftw3 dh_prep -a dh_installdocs -a -A README NEWS debian/README.Debian dh_installchangelogs -a -XChangeLog dh_installexamples -a dh_installdirs -a set -e && for s in $(PREC); do \ dh_install -plibfftw3-mpi3 --sourcedir=debian/tmp-$$s; \ dh_install -plibfftw3-mpi-dev --sourcedir=debian/tmp-$$s; \ done chrpath --delete debian/libfftw3-mpi3/usr/lib/$(DEB_HOST_MULTIARCH)/libfftw3*mpi*so* dh_installman -a dh_strip -a dh_compress -a dh_fixperms -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a -- -Zxz binary: binary-indep binary-arch .PHONY: binary binary-arch binary-indep clean .NOTPARALLEL: debian/watch0000664000000000000000000000011312061450063010211 0ustar version=3 opts=pasv ftp://ftp.fftw.org/pub/fftw/ fftw-([\.0-9]*)\.tar\.gz debian/changelog0000664000000000000000000003730612253246760011062 0ustar fftw3-mpi (3.3.3-2ubuntu2) trusty; urgency=medium * No-change rebuild for libopenmpi1.3 -> libopenmpi1.6 transition. -- Logan Rosen Sun, 15 Dec 2013 01:36:21 -0500 fftw3-mpi (3.3.3-2ubuntu1) raring; urgency=low * merge with debian experimental -- Julian Taylor Mon, 10 Dec 2012 22:11:43 +0100 fftw3 (3.3.3-2) experimental; urgency=low * restrict architectures of libfftw3-dev dependencies on -quad3 and -long3 * don't build docs in parallel, sometimes leads to broken faq -- Julian Taylor Sun, 09 Dec 2012 15:31:07 +0100 fftw3 (3.3.3-1) experimental; urgency=low * New upstream release (Closes: #694401) * split the precision libraries into separate packages: - libfftw3-single3: single precision - libfftw3-double3: double precision - libfftw3-long3: long double precision - libfftw3-quad3: quad precision (Closes: #691677) - libfftw3-3: transitional package depending on single and double - libfftw3-dev: depends on all precisions - libfftw3-mpi3: continues to contain all precisions * Acknowledge NMU, thanks Ansgar Burchardt * add debian/source/extended-diff-ignore to ignore generated files * add hardening flags to long long test so build log check does not complain * drop --with-gcc-arch configure flag, has no effect anymore * use dh-autoreconf * Bump to standards 3.9.4, no changes required * add .NOTPARALLEL to debian/rules * escape minus signs in 03_fix_manpages.diff * pkg-config.patch: move -lm to Libs.private * delete obsolete and disabled 10_uptodate_configure.diff * don't install tests as examples, they are not good examples and won't compile without files in the source tree -- Julian Taylor Sat, 01 Dec 2012 19:12:03 +0100 fftw3 (3.3.2-3.1) unstable; urgency=low * Non-maintainer upload. * debian/rules: Use xz compression for binary packages. -- Ansgar Burchardt Sun, 05 Aug 2012 16:38:56 +0200 fftw3-mpi (3.3.2-3ubuntu1) quantal; urgency=low * new universe package containing the mpi libraries -- Julian Taylor Wed, 25 Jul 2012 21:30:18 +0200 fftw3 (3.3.2-3ubuntu1) quantal; urgency=low * merge with Debian (LP: #1007259, #781726) * remove the mpi packages not suitable for main * add debian/source/extended-diff-ignore to ignore generated files * add hardening flags to long long test so build log check does not complain -- Julian Taylor Thu, 21 Jun 2012 23:07:47 +0200 fftw3 (3.3.2-3) unstable; urgency=low * disable neon for armel, it has no fpu -- Julian Taylor Sun, 10 Jun 2012 12:02:19 +0200 fftw3 (3.3.2-2) unstable; urgency=low * remove workaround for a transient gcc failure on arm (LP: #841437) * enable runtime detected neon extension support on arm and armhf * enable sse extensions for kfreebsd (Closes: #674760) avx not supported yet * drop 04_improve_semaphore_detection.diff semaphores are not shared anymore since 3.2.2 * enable hardening options * move packaging to git -- Julian Taylor Sat, 09 Jun 2012 22:44:57 +0200 fftw3 (3.3.2-1) unstable; urgency=low * Team upload to unstable * New upstream release * enable avx on i386 too, detected at runtime * move wisdom tools to libfftw3-bin, make libfftw3-dev multiarch same * revert split into -mt package package size gain is negiglible compared to main library * drop debian/patches/fix-links.patch applied upstream * remove empty directories from libfftw3-dev * respect DEB_BUILD_OPTIONS parallel * add myself to Uploaders -- Julian Taylor Fri, 18 May 2012 17:09:50 +0200 fftw3 (3.3.1-4) experimental; urgency=low * Team upload. * enable avx on amd64, detected at runtime * debian/patches/fix-links.patch: - Fix links of the thread and mpi library (Closes: #664531) * debian/rules: - pass MPILIBS=mpicc --showme:link to configure to ensure correct mpi linkage - remove rpath from mpi libs with chrpath, add build-depend on it - remove unneeded quilt.make and the build-depend * wrap-and-sort debian directory * minor package description cleanup * stop using removed --enable-portable-binary which is now default * Build the openmp and pthread libraries into libfftw3-mt{3,dev} * rename libfftw3-mpi-3 to libfftw3-mpi3 to conform to naming rules -- Julian Taylor Fri, 23 Mar 2012 00:26:17 +0100 fftw3 (3.3.1-3) experimental; urgency=low * Add the multiarch support. Thanks to Julian Taylor for the patch (Closes: #664155) * Fix some various silly and useless conflicts (Closes: #664156) -- Sylvestre Ledru Thu, 15 Mar 2012 23:08:45 +0100 fftw3 (3.3.1-1) experimental; urgency=low * Team upload. * New upstream release (Closes: #661867) * Enable the MPI version of fftw (Closes: #528680) * Standards-Version to version 3.9.3 -- Sylvestre Ledru Tue, 06 Mar 2012 14:19:28 +0100 fftw3 (3.3-1) unstable; urgency=low * Team upload. * New upstream release * Package moved into the Debian Science team (no answer from the previous maintainer) and package not maintained. * Standards-Version updated to version 3.9.2 * Vcs-Browser & Vcs-Svn updated * lintian brace-expansion-in-debhelper-config-file fixed * lintian non-empty-dependency_libs-in-la-file fixed * Sync from Ubuntu (Closes: #624285) * Switch to dpkg-source 3.0 (quilt) format * Provide the debug symbols -- Sylvestre Ledru Tue, 29 Nov 2011 01:13:21 +0100 fftw3 (3.2.2-1ubuntu2) oneiric; urgency=low * Work around FTBFS on armel, build some files with -O1. LP: #841437. -- Matthias Klose Sat, 10 Sep 2011 16:18:43 +0200 fftw3 (3.2.2-1ubuntu1) oneiric; urgency=low * Rebuild with gfortran-4.6. * Configure with --enable-sse --enable-sse2 on amd64. LP: #602586. -- Matthias Klose Sat, 10 Sep 2011 11:19:17 +0200 fftw3 (3.2.2-1) unstable; urgency=low * New upstream release * Acknowledge non-maintainer upload (closes: #532340, #532301), thanks to Cyril Brulebois * debian/control - add ${misc:Depends} - bump Standards-Version to 3.8.3, debhelper to >= 7.0.0 - span build-depends on multiple lines - added Vcs-Bzr and Vcs-Browser fields * debian/rules - fix bashisms (closes: #535378) - only install long double where needed (closes: #540408) - use dh_prep * debian/compat: bump to 7 * debian/README.source: add reference to quilt documentation -- Paul Brossier Fri, 30 Oct 2009 15:58:13 +0100 fftw3 (3.2.1-2.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS on powerpc: stop passing “-maltivec” through CFLAGS in debian/rules, thanks to Aurélien Jarno (closes: #532340). * Fix FTBFS on GNU/kFreeBSD: improve the detection of POSIX semaphores (they can be shared or non-shared, and GNU/kFreeBSD only supports the latter), thanks to Petr Salinger (closes: #532301): + 04_improve_semaphore_detection.diff -- Cyril Brulebois Thu, 25 Jun 2009 01:01:04 +0200 fftw3 (3.2.1-2) unstable; urgency=low * Move texinfo from Build-Depends-Indep to Build-Depends (closes: #522502) -- Paul Brossier Mon, 06 Apr 2009 15:31:13 +0200 fftw3 (3.2.1-1) unstable; urgency=low * New upstream release (closes: #502247, #505842, #515223) * Patch from #486046 was included upstream (closes: #486046) * Acknowledge non-maintainer upload (closes: #478376) * Add build-depends on quilt and switch to patches * Switch from gs-gpl to ghostscript (>> 8.63) * Add 03_fix_manpages to add missing backslash in manpages * Add Homepage and bump Standards-Version to 3.8.1 * Bump debhelper depends to >=5.0.0 * Update debian/copyright -- Paul Brossier Fri, 03 Apr 2009 18:00:56 +0200 fftw3 (3.1.2-3.1) unstable; urgency=medium * Non-maintainer upload. * Fix bashism in debian/rules (Closes: #478376) * debian/control: - Add ${shlibs:Depends} to binary Depends of libfftw3-dev to satisfy libc dependency for test and utility programs. - Bump Standards-Version to 3.8.0 -- Chris Lamb Sat, 07 Jun 2008 17:59:46 +0100 fftw3 (3.1.2-3) unstable; urgency=low * Rename fftw3{,-dev,-doc} to libfftw3{,-dev,-doc}. (closes: #430238, #378444) * Add Conflicts/Replaces/Provides to all packages accordingly. * Add -$(RM) -rf debian/tmp-long-double to debian/rules:clean (closes: #424261) -- Paul Brossier Fri, 03 Aug 2007 13:33:47 +0200 fftw3 (3.1.2-2) unstable; urgency=low * debian/rules, debian/control: switching fortran compiler from g77 to gfortran, avoiding dependancies against older gcc binaries. Compatibility with g77 compiled libraries should work, since the -ff2c option is used. DEB_BUILD_OPTIONS=nog77 can be used to disable backward compatibility. Thanks to Steven G. Johnson and Warren Turkal. (closes: #392301) * debian/fftw3-doc.doc-base.{fftw3-faq,manual}: add missing Index: line to Info and Text formats (closes: #418798) -- Paul Brossier Fri, 13 Apr 2007 11:24:21 +0200 fftw3 (3.1.2-1) unstable; urgency=low * New upstream release (closes: #376967) * debian/rules: enable altivec optimisations on powerpc (closes: #225959) * debian/fftw3-dev: manpages are in usr/share/man/man1 * fix noopt build option. -- Paul Brossier Thu, 27 Jul 2006 12:13:39 +0200 fftw3 (3.1.1-2) unstable; urgency=low * fftw3-dev: use versioned dependancy against fftw3 (= ${Source-version}) (closes: #372246) instead of '${shlibs:Depends}, pkg-config' -- Paul Brossier Sat, 1 Jul 2006 13:17:24 +0200 fftw3 (3.1.1-1) unstable; urgency=low * New upstream release (closes: #350327, #338487, #338501) * Add --enable-portable-binary to use -mtune instead of -march * Use --with-gcc-arch=G5 / pentium4 on powerpc / i386 * Updated Standards-Version -- Paul Brossier Wed, 31 May 2006 13:44:05 +0200 fftw3 (3.0.1-14) unstable; urgency=low * Fixes in acinclude.m4: + bypass all checks for specific architecture flags + make gcc flags check even when CFLAGS is set + don't add -fomit-frame-pointer to CFLAGS (automatically added by -O on machines that supports it) + avoid overwriting CFLAGS passed from configure + don't compile codelets with -O3 * Other fixes in source tree: + add AC_CANONICAL_HOST to configure.in + update depcomp, libtool and friends, rerun aclocal and autoconf + update __attribute__(mode()) to vector_size() in simd/simd-*.h + fix INFO-DIR-SECTION of info files in doc * Changes to debian/: + add '-march=i386 -mtune=pentiumpro' to CFLAGS on i386 + add a Build-Depends-Indep and rebuild the docs in build-indep + use dh_install, update doc-base entries fftw3-doc.doc-base.* + removed hardcoded shlibs and custom postinst/prerm + add tests in fftw3-dev examples, add a watch file + add ascii and info version of the faq + remove K6 workaround, add a noopt debbuild option -- Paul Brossier Tue, 4 Oct 2005 20:49:58 +0100 fftw3 (3.0.1-13) unstable; urgency=low * Remove CFLAGS and archconfflags on m68k and i386 (broken autoconf and automake, setting either makes configure script breaks and select wrong cpu flags, more info in acinclude.m4) -- Paul Brossier Sun, 7 Aug 2005 17:42:15 +0100 fftw3 (3.0.1-12) unstable; urgency=low * Patch from Javier Fernández-Sanguino Peña to make fftw-wisdom-to-conf temporary file creation more secure (closes: #321566) * Begin to simplify debian/rules, set CFLAGS and --host on all platforms * Add a dummy program to check sizeof(long double) != sizeof(double) * Update config.sub config.guess in clean rules, clean cleaner * Uncapitalise short descriptions * Bump standards-version to 3.6.2 * Change maintainer address to @debian.org -- Paul Brossier Sun, 7 Aug 2005 04:42:08 +0100 fftw3 (3.0.1-11) unstable; urgency=low * Added workaround for K6 (closes: #219688, #255755, #259612), thanks goes to Steven G. Johnson and Guus Sliepen. (recompiled simd/taint.c by hand in debian/rules) * Clean cleaner: replaced make clean by distclean in rules. * Added source section to debian/control. -- Paul Brossier Tue, 9 Nov 2004 18:21:52 +0000 fftw3 (3.0.1-10) unstable; urgency=high * Adopted package (closes: #263125). * Ditch config.guess in favor of values from dpkg-architecture, to avoid over-optimized mis-builds of the package (Steve Langasek,closes: #265193). * Added version (>=4.0.0) to debhelper Build-Depends. * Added missing #DEBHELPER# token to fftw-doc.postinst -- Paul Brossier Sun, 15 Aug 2004 19:28:44 +0200 fftw3 (3.0.1-9) unstable; urgency=low * m68k still doesn't work properly with optimatzion turned on. -- James A. Treacy Mon, 19 Apr 2004 17:33:04 -0400 fftw3 (3.0.1-8) unstable; urgency=low * add missing files /usr/bin/fftw{f,l}-wisdom and related man files. Closes: Bug#228959 * remove setgid in source. Closes: Bug#240180 * add m68k to the list of arches that don't install long-double libs in binary-arch. Closes: Bug#244393 -- James A. Treacy Wed, 21 Jan 2004 19:00:01 -0500 fftw3 (3.0.1-7) unstable; urgency=low * disable altivec on powerpc. See Bug#223601 for an explanation. -- James A. Treacy Thu, 1 Jan 2004 20:50:40 -0500 fftw3 (3.0.1-6) unstable; urgency=low * Compile without optimization on powerpc until gcc is fixed. Closes: #220666 * Add doc-base entry. Closes: #218132 -- James A. Treacy Wed, 29 Oct 2003 10:40:39 -0500 fftw3 (3.0.1-4) unstable; urgency=low * Add missing man pages. Closes: #203084 * applied patch from upstream to fix the -t option of fftw-wisdom. Closes: #203154 -- James A. Treacy Sun, 27 Jul 2003 14:08:48 -0400 fftw3 (3.0.1-3) unstable; urgency=low * applied patch from upstream to fix the sparc build properly. * remove optimization from m68k build to get around gcc bug. -- James A. Treacy Fri, 25 Jul 2003 01:41:25 -0400 fftw3 (3.0.1-2) unstable; urgency=low * Remove timer for sparc as it seems to be buggy. * Fix typo in bench-main.c. Should fix m68k. -- James A. Treacy Sat, 12 Jul 2003 13:32:46 -0400 fftw3 (3.0.1-1) unstable; urgency=low * New upstream source. * fftw3-dev depends on pkg-config. Closes: #197637 -- James A. Treacy Sun, 6 Jul 2003 17:14:38 -0400 fftw3 (3.0-4) unstable; urgency=low * Use --without-cycle-counter for mips and mipsel. * /usr/lib/pkgconfig/fftw3.pc added to -dev package. Closes: #193799 * Fixed fftw3-dev dependencies. Closes: #196615 -- James A. Treacy Tue, 6 May 2003 22:07:43 -0400 fftw3 (3.0-3) unstable; urgency=low * Forgot to remove 'time' from make check. -- James A. Treacy Tue, 6 May 2003 13:37:13 -0400 fftw3 (3.0-2) unstable; urgency=low * Disable building of the long double library for arches where double == long double. Closes: #191999 * Includes information to build on arm, m68k and s390 (also submitted upstream. Most likely will still not build on mips{,el}. * Will probably hang during make check on sparc. -- James A. Treacy Tue, 29 Apr 2003 00:28:16 -0400 fftw3 (3.0-1) unstable; urgency=low * New upstream release * New package. FFTW should stay in the distribution until packages convert to the new API -- James A. Treacy Tue, 1 Apr 2003 12:50:10 -0500 debian/compat0000664000000000000000000000000212061450063010363 0ustar 7 debian/README.source0000664000000000000000000000035312061450063011345 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. Read more about this on /usr/share/doc/quilt/README.source. debian/libfftw3-single3.install0000664000000000000000000000003012061450063013630 0ustar usr/lib/*/libfftw*.so.* debian/copyright0000664000000000000000000000120412061450063011115 0ustar This package was debianized by James A. Treacy treacy@debian.org on Tue, 22 Apr 2003 12:50:10 -0500 It was downloaded from http://fftw.org/download.html The homepage for fftw is at http://fftw.org/ Copyright: Copyright (c) 2003, 2007-8 Matteo Frigo Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. A copy of the GPL can be found in /usr/share/common-licenses/GPL-2 debian/source/0000775000000000000000000000000012061450063010465 5ustar debian/source/format0000664000000000000000000000001412061450063011673 0ustar 3.0 (quilt) debian/source/options0000664000000000000000000000014712061450063012105 0ustar extend-diff-ignore = "(^|/)(fftw3.info|fftw3.info-[12]|.*\.la|fftw[flq]*-wisdom|fftw[flq]*-wisdom.1)$" debian/libfftw3-mpi-dev.install0000664000000000000000000000010512061450063013630 0ustar usr/include/*mpi* usr/lib/*/libfftw*mpi*.a usr/lib/*/libfftw*mpi*.so debian/README.Debian0000664000000000000000000000557412061450063011241 0ustar fftw3 for DEBIAN ---------------------- Some of the changes made for version 3 of FFTW necessitated changes to the API, so you will need to make (minor) changes when moving existing programs to this version. See the documentation (in package fftw3-doc) for details. In fftw2 separate packages included optimizations for SIMD instructions. In fftw3 all such optimizations (x86 and powerpc) are included in the regular libraries. The routines should automatically detect the capabilities of your processor. Also, the package contains three different precision versions (single and double as before, plus a new long double version). The -dev version of a package contains the headers and a statically linked copy of the libraries. You need to install this if you intend to compile a program which uses fftw. Be careful when compiling against the static libs as the library linker (ld) looks for shared libraries first. Some people prefer to use static libraries as there can be a speed advantage (3-30%) on register starved architectures (like x86 machines). The package also contains a threaded version of fftw. Using the threaded version is almost identical to using the non- threaded version, but the function calls are renamed and you need to call a special function first to handle some housekeeping. See the documentation for details. To top it all off, you can call fftw from fortran. See the docs at /usr/share/doc/fftw3-doc/html/Calling-FFTW-from-Fortran.html (needs package fftw-doc installed). Checking the fftw library for correctness ----------------------------------------- A 'make check' is run during the Debian build. This runs a number of tests on the library but does not test all aspects of fftw. Some users may want to run more complete checks on the library. Unfortunately, it is difficult to compile or run the checks outside the source so a precompiled binary is not included with the package. To enable users to check the library for correctness, the instructions for compiling the source are included here: apt-get source fftw3 (you need a deb-src line in /etc/apt/sources.list) cd fftw3-3.0 Run the configure line from debian/rules appropriate for your architecture and the precision you would like to test. For example, to run the double precision tests on an x86 machine you would run: ./configure --prefix=/usr --enable-shared --enable-threads --enable-sse2 Then compile the source and go into the tests directory: make cd tests You are now ready to run the tests. You can run individual tests yourself or you can run the automated tests. For details on running tests yourself, read the README file. There are three choices for the automated tests: make check (takes a few minutes) make bigcheck (takes hours to run) make paranoid-check (you tell me how long it takes) James A. Treacy , Thu, 24 Apr 2003 21:42:20 -0500 debian/libfftw3-mpi3.install0000664000000000000000000000003412061450063013140 0ustar usr/lib/*/libfftw3*mpi.so.* debian/libfftw3-quad3.install0000664000000000000000000000003012061450063013301 0ustar usr/lib/*/libfftw*.so.* debian/control0000664000000000000000000000363712061450063010601 0ustar Source: fftw3-mpi Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Science Team Uploaders: Paul Brossier , Julian Taylor Build-Depends: chrpath, debhelper (>=7.0.0), dh-autoreconf, dpkg (>= 1.16.0), gfortran, libfftw3-dev, mpi-default-dev Vcs-Git: git://git.debian.org/git/debian-science/packages/fftw3.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/fftw3.git Homepage: http://fftw.org Standards-Version: 3.9.4 Package: libfftw3-mpi3 Architecture: any Pre-Depends: multiarch-support Depends: ${misc:Depends}, ${shlibs:Depends} Suggests: libfftw3-mpi-dev Multi-Arch: same Description: MPI Library for computing Fast Fourier Transforms The FFTW library computes Fast Fourier Transforms (FFT) in one or more dimensions. It is extremely fast. This package contains the shared library versions of the fftw libraries in single, double and long double precisions. Note that on some architectures double is the same as long double in which case there is no long double library. . To get the static library and the header files, you need to install libfftw3-mpi-dev. For documentation, see libfftw3-doc. Package: libfftw3-mpi-dev Architecture: any Section: libdevel Depends: libfftw3-mpi3 (=${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: MPI Library for computing Fast Fourier Transforms - development The FFTW library computes Fast Fourier Transforms (FFT) in one or more dimensions. It is extremely fast. This package contains the statically linked library, header files and test programs. . This package contains the header files and static libraries for the mpi libraries. For documentation, see libfftw3-doc. debian/patches/0000775000000000000000000000000012061450063010614 5ustar debian/patches/01_fftw3_texi.diff0000664000000000000000000000037612061450063014036 0ustar Forwarded: fftw@fftw.org --- a/doc/fftw3.texi +++ b/doc/fftw3.texi @@ -148,7 +148,7 @@ @end quotation @end copying -@dircategory Texinfo documentation system +@dircategory Development @direntry * fftw3: (fftw3). FFTW User's Manual. @end direntry debian/patches/02_fftw-faq_bfnn.diff0000664000000000000000000000041412061450063014464 0ustar Forwarded: fftw@fftw.org --- a/doc/FAQ/fftw-faq.bfnn +++ b/doc/FAQ/fftw-faq.bfnn @@ -19,6 +19,7 @@ \endcopy \copyto INFO +INFO-DIR-SECTION Development START-INFO-DIR-ENTRY * FFTW FAQ: (fftw-faq). FFTW Frequently Asked Questions with Answers. END-INFO-DIR-ENTRY debian/patches/series0000664000000000000000000000014312061450063012027 0ustar 01_fftw3_texi.diff 02_fftw-faq_bfnn.diff 03_fix_manpages.diff mpi-only-patch.patch pkg-config.patchdebian/patches/pkg-config.patch0000664000000000000000000000062112061450063013660 0ustar Description: move -lm to Libs.private Forwarded: fftw@fftw.org Author: Julian Taylor --- a/fftw.pc.in +++ b/fftw.pc.in @@ -6,5 +6,6 @@ Name: FFTW Description: fast Fourier transform library Version: @VERSION@ -Libs: -L${libdir} -lfftw3@PREC_SUFFIX@ @LIBQUADMATH@ -lm +Libs: -L${libdir} -lfftw3@PREC_SUFFIX@ @LIBQUADMATH@ +Libs.private: -lm Cflags: -I${includedir} debian/patches/03_fix_manpages.diff0000664000000000000000000001627612061450063014425 0ustar Description: escape minus signs and fix two comments Forwarded: fftw@fftw.org --- a/tools/fftw_wisdom.1.in +++ b/tools/fftw_wisdom.1.in @@ -18,14 +18,14 @@ .\" .TH FFTW-WISDOM 1 "February, 2003" "fftw" "fftw" .SH NAME -fftw@PREC_SUFFIX@-wisdom \- create wisdom (pre-optimized FFTs) +fftw@PREC_SUFFIX@\-wisdom \- create wisdom (pre-optimized FFTs) .SH SYNOPSIS -.B fftw@PREC_SUFFIX@-wisdom +.B fftw@PREC_SUFFIX@\-wisdom [\fIOPTION\fR]... [\fISIZE\fR]... .SH DESCRIPTION .PP -." Add any additional description here -.I fftw@PREC_SUFFIX@-wisdom +.\" Add any additional description here +.I fftw@PREC_SUFFIX@\-wisdom is a utility to generate FFTW .B wisdom files, which contain saved information about how to optimally compute @@ -41,16 +41,16 @@ programs will load the \fBsystem wisdom\fR file, which is stored in .I /etc/fftw/wisdom@PREC_SUFFIX@ by default. -.I fftw@PREC_SUFFIX@-wisdom +.I fftw@PREC_SUFFIX@\-wisdom can be used to create or add to such wisdom files. In its most typical usage, the wisdom file can be created to pre-plan a canonical set of sizes (see below) via: .ce -fftw@PREC_SUFFIX@-wisdom -v -c -o wisdom@PREC_SUFFIX@ +fftw@PREC_SUFFIX@\-wisdom \-v \-c \-o wisdom@PREC_SUFFIX@ (this will take many hours, which can be limited by the -.B -t +.B \-t option) and the output .I wisdom@PREC_SUFFIX@ file can then be copied (as root) to @@ -58,33 +58,33 @@ or whatever. The -.I fftw@PREC_SUFFIX@-wisdom +.I fftw@PREC_SUFFIX@\-wisdom program normally writes the wisdom directly to standard output, but this can be changed via the -.B -o +.B \-o option, as in the example above. If the system wisdom file .I /etc/fftw/wisdom@PREC_SUFFIX@ already exists, then -.I fftw@PREC_SUFFIX@-wisdom +.I fftw@PREC_SUFFIX@\-wisdom reads this existing wisdom (unless the -.B -n +.B \-n option is specified) and outputs both the old wisdom and any newly created wisdom. In this way, it can be used to add new transform sizes to the existing system wisdom (or other wisdom file, with the -.B -w +.B \-w option). .SH SPECIFYING SIZES Although a canonical set of sizes to optimize is specified by the -.B -c +.B \-c option, the user can also specify zero or more non-canonical transform sizes and types to optimize, via the .I SIZE arguments following the option flags. Alternatively, the sizes to optimize can be read from standard input (whitespace-separated), if a .I SIZE -argument of "-" is supplied. +argument of "\-" is supplied. Sizes are specified by the syntax: @@ -117,41 +117,41 @@ .SH OPTIONS .TP -\fB\-h\fR, \fB\--help\fR +\fB\-h\fR, \fB\-\-help\fR Display help on the command-line options and usage. .TP -\fB\-V\fR, \fB\--version\fR +\fB\-V\fR, \fB\-\-version\fR Print the version number and copyright information. .TP -\fB\-v\fR, \fB\--verbose\fR +\fB\-v\fR, \fB\-\-verbose\fR Verbose output. (You can specify this multiple times, or supply a numeric argument greater than 1, to increase the verbosity level.) Note that the verbose output will be mixed with the wisdom output (making it impossible to import), unless you write the wisdom to a file via the -.B -o +.B \-o option. .TP -\fB\-c\fR, \fB\--canonical\fR +\fB\-c\fR, \fB\-\-canonical\fR Optimize/pre-plan a canonical set of sizes: all powers of two and ten up to 2^20 (1048576), including both real and complex, forward and backwards, in-place and out-of-place transforms. Also includes two- and three-dimensional transforms of equal-size dimensions (e.g. 16x16x16). .TP -\fB\-t\fR \fIhours\fR, \fB\--time-limit\fR=\fIhours\fR +\fB\-t\fR \fIhours\fR, \fB\-\-time\-limit\fR=\fIhours\fR Stop after a time of .I hours (hours) has elapsed, outputting accumulated wisdom. (The problems are planned in increasing order of size.) Defaults to 0, indicating no time limit. .TP -\fB\-o\fR \fIfile\fR, \fB\--output-file\fR=\fIfile\fR +\fB\-o\fR \fIfile\fR, \fB\-\-output-file\fR=\fIfile\fR Send wisdom output to .I file rather than to standard output (the default). .TP -\fB\-m\fR, \fB\--measure\fR; \fB\-e\fR, \fB\--estimate\fR; \fB\-x\fR, \fB\--exhaustive\fR +\fB\-m\fR, \fB\-\-measure\fR; \fB\-e\fR, \fB\-\-estimate\fR; \fB\-x\fR, \fB\-\-exhaustive\fR Normally, -.I fftw@PREC_SUFFIX@-wisdom +.I fftw@PREC_SUFFIX@\-wisdom creates plans in FFTW_PATIENT mode, but with these options you can instead use FFTW_MEASURE, FFTW_ESTIMATE, or FFTW_EXHAUSTIVE modes, respectively, as described in more detail by the FFTW manual. @@ -160,24 +160,24 @@ single file can mix different levels of wisdom (e.g. you can mostly use the patient default, but plan a few sizes that you especially care about in -.B --exhaustive +.B \-\-exhaustive mode). .TP -\fB\-n\fR, \fB\--no-system-wisdom\fR +\fB\-n\fR, \fB\-\-no\-system\-wisdom\fR Do not import the system wisdom from .I /etc/fftw/wisdom@PREC_SUFFIX@ (which is normally read by default). .TP -\fB\-w\fR \fIfile\fR, \fB\--wisdom-file\fR=\fIfile\fR +\fB\-w\fR \fIfile\fR, \fB\-\-wisdom\-file\fR=\fIfile\fR Import wisdom from .I file (in addition to the system wisdom, unless -.B -n +.B \-n is specified). Multiple wisdom files can be read via multiple -.B -w +.B \-w options. If .I file -is "-", then read wisdom from standard input. +is "\-", then read wisdom from standard input. .SH BUGS Send bug reports to fftw@fftw.org. .SH AUTHORS --- a/tools/fftw-wisdom-to-conf.1 +++ b/tools/fftw-wisdom-to-conf.1 @@ -18,13 +18,13 @@ .\" .TH FFTW-WISDOM-TO-CONF 1 "February, 2003" "fftw" "fftw" .SH NAME -fftw-wisdom-to-conf \- generate FFTW wisdom (pre-planned transforms) +fftw\-wisdom\-to\-conf \- generate FFTW wisdom (pre-planned transforms) .SH SYNOPSIS -\fBfftw-wisdom-to-conf\fR [< \fIINPUT\fR] [> \fIOUTPUT\fR] +\fBfftw\-wisdom\-to\-conf\fR [< \fIINPUT\fR] [> \fIOUTPUT\fR] .SH DESCRIPTION .PP -." Add any additional description here -.I fftw-wisdom-to-conf +.\" Add any additional description here +.I fftw\-wisdom\-to\-conf is a utility to generate C .B configuration routines from FFTW @@ -48,15 +48,15 @@ found at the FFTW home page: .I http://www.fftw.org -.I fftw-wisdom-to-conf +.I fftw\-wisdom\-to\-conf reads wisdom from standard input and writes the configuration to standard output. It can easily be combined with the -.I fftw-wisdom +.I fftw\-wisdom tool, for example: -fftw-wisdom -n cof1024 cob1024 -o wisdom +fftw\-wisdom \-n cof1024 cob1024 \-o wisdom .br -fftw-wisdom-to-conf < wisdom > conf.c +fftw\-wisdom\-to\-conf < wisdom > conf.c will create a configuration "conf.c" containing only those parts of FFTW needed for the optimized complex forwards and backwards @@ -65,7 +65,7 @@ Alternatively, you can run your actual program, export wisdom for all plans that were created (ideally in FFTW_PATIENT or FFTW_EXHAUSTIVE -mode), use this as input for \fIfftw-wisdom-to-conf\fR, +mode), use this as input for \fIfftw\-wisdom\-to\-conf\fR, and then re-link your program with the resulting configuration routine. Note that the configuration routine does not contain the wisdom, only @@ -74,10 +74,10 @@ plans. .SH OPTIONS .TP -\fB\-h\fR, \fB\--help\fR +\fB\-h\fR, \fB\-\-help\fR Display help on the command-line options and usage. .TP -\fB\-V\fR, \fB\--version\fR +\fB\-V\fR, \fB\-\-version\fR Print the version number and copyright information. .SH BUGS Send bug reports to fftw@fftw.org. debian/patches/mpi-only-patch.patch0000664000000000000000000000503312061450063014477 0ustar Description: required for splitting fftw3 into two sources link with system libfftw and disable mpi-bench not used in package --- mpi/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: fftw3/mpi/Makefile.am =================================================================== --- fftw3.orig/mpi/Makefile.am 2012-06-17 13:37:47.689840615 +0000 +++ fftw3/mpi/Makefile.am 2012-06-17 13:50:53.000000000 +0000 @@ -6,7 +6,6 @@ lib_LTLIBRARIES = libfftw3@PREC_SUFFIX@_mpi.la include_HEADERS = fftw3-mpi.h nodist_include_HEADERS = fftw3-mpi.f03 fftw3l-mpi.f03 -noinst_PROGRAMS = mpi-bench endif CC=@MPICC@ @@ -24,7 +23,7 @@ libfftw3@PREC_SUFFIX@_mpi_la_SOURCES = $(SRC) $(TRANSPOSE_SRC) $(DFT_SRC) $(RDFT_SRC) $(RDFT2_SRC) libfftw3@PREC_SUFFIX@_mpi_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ -libfftw3@PREC_SUFFIX@_mpi_la_LIBADD = ../libfftw3@PREC_SUFFIX@.la @MPILIBS@ +libfftw3@PREC_SUFFIX@_mpi_la_LIBADD = -lfftw3@PREC_SUFFIX@ @MPILIBS@ if THREADS mpi_bench_CFLAGS = $(PTHREAD_CFLAGS) Index: fftw3/mpi/Makefile.in =================================================================== --- fftw3.orig/mpi/Makefile.in 2012-06-17 13:24:17.617840925 +0000 +++ fftw3/mpi/Makefile.in 2012-06-17 13:55:40.489840633 +0000 @@ -36,7 +36,7 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -@MPI_TRUE@noinst_PROGRAMS = mpi-bench$(EXEEXT) +@MPI_TRUE@noinst_PROGRAMS = subdir = mpi DIST_COMMON = $(am__include_HEADERS_DIST) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in @@ -89,7 +89,7 @@ "$(DESTDIR)$(includedir)" LTLIBRARIES = $(lib_LTLIBRARIES) libfftw3@PREC_SUFFIX@_mpi_la_DEPENDENCIES = \ - ../libfftw3@PREC_SUFFIX@.la + -lfftw3@PREC_SUFFIX@ am__objects_1 = any-true.lo api.lo block.lo choose-radix.lo conf.lo \ dtensor.lo rearrange.lo wisdom-api.lo f03-wrap.lo am__objects_2 = transpose-alltoall.lo transpose-pairwise.lo \ @@ -305,7 +305,7 @@ SRC = any-true.c api.c block.c choose-radix.c conf.c dtensor.c fftw3-mpi.h ifftw-mpi.h rearrange.c wisdom-api.c f03-wrap.c libfftw3@PREC_SUFFIX@_mpi_la_SOURCES = $(SRC) $(TRANSPOSE_SRC) $(DFT_SRC) $(RDFT_SRC) $(RDFT2_SRC) libfftw3@PREC_SUFFIX@_mpi_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ -libfftw3@PREC_SUFFIX@_mpi_la_LIBADD = ../libfftw3@PREC_SUFFIX@.la @MPILIBS@ +libfftw3@PREC_SUFFIX@_mpi_la_LIBADD = -lfftw3@PREC_SUFFIX@ @MPILIBS@ @OPENMP_TRUE@@THREADS_FALSE@mpi_bench_CFLAGS = $(OPENMP_CFLAGS) @THREADS_TRUE@mpi_bench_CFLAGS = $(PTHREAD_CFLAGS) @COMBINED_THREADS_FALSE@@THREADS_TRUE@LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la debian/libfftw3-long3.install0000664000000000000000000000003012061450063013306 0ustar usr/lib/*/libfftw*.so.*