[GRASSLIST:2453] RedHat 7.1 and FFTW. Differences between the Powertools CD and
www.fftw.org
Daniel Tourde
ted at foi.se
Tue Sep 18 09:40:36 EDT 2001
Hello!
I found something strange between the FFTW distibuted by RedHat
(Powertools) and the FFTW from www.fftw.org
I think it is worth noting and maybe a correction somehow would be
welcome
Lets consider fftw-2.1.3-1.src.rpm provided by www.fftw.org
Here is the content of the binaries after compilation:
[root at brest i386]# rpm -qpil * | more
Name : fftw Relocations: /usr/local
Version : 2.1.3 Vendor: (none)
Release : 1 Build Date: Tue 18 Sep 2001
03:02:28 PM CEST
Install date: (not installed) Build Host: brest.ffa.se
Group : Libraries Source RPM:
fftw-2.1.3-1.src.rpm
Size : 1020338 License: GPL
URL : http://www.fftw.org
Summary : fast fourier transform library
Description :
FFTW is a collection of fast C routines for computing the Discrete
Fourier
Transform in one or more dimensions. It includes complex, real, and
parallel transforms, and can handle arbitrary array sizes efficiently.
This RPM package includes both the double- and single-precision FFTW
uniprocessor and threads libraries. (The single-precision files have
an "s" prefix.)
/usr/local/lib/libfftw.so.2
/usr/local/lib/libfftw.so.2.0.5
/usr/local/lib/libfftw_threads.so.2
/usr/local/lib/libfftw_threads.so.2.0.5
/usr/local/lib/librfftw.so.2
/usr/local/lib/librfftw.so.2.0.5
/usr/local/lib/librfftw_threads.so.2
/usr/local/lib/librfftw_threads.so.2.0.5
/usr/local/lib/libsfftw.so.2
/usr/local/lib/libsfftw.so.2.0.5
/usr/local/lib/libsfftw_threads.so.2
/usr/local/lib/libsfftw_threads.so.2.0.5
/usr/local/lib/libsrfftw.so.2
/usr/local/lib/libsrfftw.so.2.0.5
/usr/local/lib/libsrfftw_threads.so.2
/usr/local/lib/libsrfftw_threads.so.2.0.5
Name : fftw-devel Relocations: /usr/local
Version : 2.1.3 Vendor: (none)
Release : 1 Build Date: Tue 18 Sep 2001
03:02:28 PM CEST
Install date: (not installed) Build Host: brest.ffa.se
Group : Development/Libraries Source RPM:
fftw-2.1.3-1.src.rpm
Size : 1500578 License: GPL
URL : http://www.fftw.org
Summary : headers, libraries, & docs for FFTW fast fourier transform
library
Description :
This package contains the additional header files, documentation, and
libraries you need to develop programs using the FFTW fast fourier
transform library.
/usr/local/include/fftw.h
/usr/local/include/fftw_threads.h
/usr/local/include/rfftw.h
/usr/local/include/rfftw_threads.h
/usr/local/include/sfftw.h
/usr/local/include/sfftw_threads.h
/usr/local/include/srfftw.h
/usr/local/include/srfftw_threads.h
/usr/local/info/fftw.info
/usr/local/info/fftw.info-1
/usr/local/info/fftw.info-2
/usr/local/info/fftw.info-3
/usr/local/info/fftw.info-4
/usr/local/info/fftw.info-5
/usr/local/lib/libfftw.a
/usr/local/lib/libfftw.la
/usr/local/lib/libfftw.so
/usr/local/lib/libfftw_threads.a
/usr/local/lib/libfftw_threads.la
/usr/local/lib/libfftw_threads.so
/usr/local/lib/librfftw.a
/usr/local/lib/librfftw.la
/usr/local/lib/librfftw.so
/usr/local/lib/librfftw_threads.a
/usr/local/lib/librfftw_threads.la
/usr/local/lib/librfftw_threads.so
/usr/local/lib/libsfftw.a
/usr/local/lib/libsfftw.la
/usr/local/lib/libsfftw.so
/usr/local/lib/libsfftw_threads.a
/usr/local/lib/libsfftw_threads.la
/usr/local/lib/libsfftw_threads.so
/usr/local/lib/libsrfftw.a
/usr/local/lib/libsrfftw.la
/usr/local/lib/libsrfftw.so
/usr/local/lib/libsrfftw_threads.a
/usr/local/lib/libsrfftw_threads.la
/usr/local/lib/libsrfftw_threads.so
Now let's consider fftw-2.1.3-8.src.rpm found on the RedHat 7.1
Powertools CD.
Here is the content of the binaries:
Name : fftw Relocations: /usrusr
Version : 2.1.3 Vendor: (none)
Release : 8 Build Date: Wed 04 Jul 2001
10:33:35 AM CEST
Install date: (not installed) Build Host: lorient.ffa.se
Group : Development/Libraries Source RPM:
fftw-2.1.3-8.src.rpm
Size : 908270 License: GPL
URL : http://theory.lcs.mit.edu/~fftw
Summary : C subroutines for computing the Discrete Fourier
Transform.
Description :
FFTW is a collection of fast C routines for computing the Discrete
Fourier Transform in one or more dimensions. It includes complex,
real, and parallel transforms, and can handle arbitrary array sizes
efficiently. This package includes both the double- and
single-precision FFTW uniprocessors and the threads libraries.
/usr/lib/libdfftw.so.2
/usr/lib/libdfftw.so.2.0.5
/usr/lib/libdfftw_threads.so.2
/usr/lib/libdfftw_threads.so.2.0.5
/usr/lib/libdrfftw.so.2
/usr/lib/libdrfftw.so.2.0.5
/usr/lib/libdrfftw_threads.so.2
/usr/lib/libdrfftw_threads.so.2.0.5
/usr/lib/libsfftw.so.2
/usr/lib/libsfftw.so.2.0.5
/usr/lib/libsfftw_threads.so.2
/usr/lib/libsfftw_threads.so.2.0.5
/usr/lib/libsrfftw.so.2
/usr/lib/libsrfftw.so.2.0.5
/usr/lib/libsrfftw_threads.so.2
/usr/lib/libsrfftw_threads.so.2.0.5
Name : fftw-devel Relocations: /usr
Version : 2.1.3 Vendor: (none)
Release : 8 Build Date: Wed 04 Jul 2001
10:33:35 AM CEST
Install date: (not installed) Build Host: lorient.ffa.se
Group : Development/Libraries Source RPM:
fftw-2.1.3-8.src.rpm
Size : 1275291 License: GPL
URL : http://theory.lcs.mit.edu/~fftw
Summary : Development files for the FFTW Discrete Fourier Transform
library.
Description :
This package contains the additional header files, documentation, and
libraries you need to develop programs using the FFTW fast fourier
transform library.
/usr/include/dfftw.h
/usr/include/dfftw_threads.h
/usr/include/drfftw.h
/usr/include/drfftw_threads.h
/usr/include/sfftw.h
/usr/include/sfftw_threads.h
/usr/include/srfftw.h
/usr/include/srfftw_threads.h
/usr/lib/libdfftw.a
/usr/lib/libdfftw.la
/usr/lib/libdfftw.so
/usr/lib/libdfftw_threads.a
/usr/lib/libdfftw_threads.la
/usr/lib/libdfftw_threads.so
/usr/lib/libdrfftw.a
/usr/lib/libdrfftw.la
/usr/lib/libdrfftw.so
/usr/lib/libdrfftw_threads.a
/usr/lib/libdrfftw_threads.la
/usr/lib/libdrfftw_threads.so
/usr/lib/libsfftw.a
/usr/lib/libsfftw.la
/usr/lib/libsfftw.so
/usr/lib/libsfftw_threads.a
/usr/lib/libsfftw_threads.la
/usr/lib/libsfftw_threads.so
/usr/lib/libsrfftw.a
/usr/lib/libsrfftw.la
/usr/lib/libsrfftw.so
/usr/lib/libsrfftw_threads.a
/usr/lib/libsrfftw_threads.la
/usr/lib/libsrfftw_threads.so
/usr/share/info/fftw.info-1.gz
/usr/share/info/fftw.info-2.gz
/usr/share/info/fftw.info-3.gz
/usr/share/info/fftw.info-4.gz
/usr/share/info/fftw.info-5.gz
/usr/share/info/fftw.info.gz
There is a difference, an annoying difference for Grass:
fftw and rfftw are renamed dfftw and drfftw (headers and libraries).
I don't know why RedHat did that, I don't know the purpose of this, the
only thing I know is that it bothers Grass5pre2 during compilation (I
have the Powertools packages).
How to get around this in an "elegant" manner?
Daniel
--
***********************************************************************
Daniel TOURDE E-mail : daniel.tourde at foi.se
Tel : +46 (0)8-55 50 43 44
Cellular : +46 (0)70-849 93 40
FOI, Swedish Defence Research Agency; Aeronautics Division - FFA
Dept. of Wind Energy and Aviation Environmental Research
SE-172 90 Stockholm, Sweden Fax : +46 (0)8-25 34 81
***********************************************************************
More information about the grass-user
mailing list