LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2004, 12:12 PM   #1
german
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312

Rep: Reputation: 30
Question drfftw.h - ?????


um does anyone know where one might obtain drfftw.h and libdrfftw? I assumed it would be part of the FFTW source install but it isn't, for either version 2.1.5 or 3.0.1... any help appreciated...

B.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-09-2017, 09:50 PM   #2
SkyBlu
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Rep: Reputation: Disabled
#include <drfftw.h>,what's it mainly about ?

Hi,
I have some question about"#include <drfftw.h>",I have search for it by google. But the most content is about "fftw.h", could someone tell me how to use the library "drfftw.h"? Thanks.
 
Old 07-09-2017, 09:59 PM   #3
SkyBlu
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Rep: Reputation: Disabled
#include <drfftw.h>,what's it mainly about ?

Hi,
I have some question about"#include <drfftw.h>",I have search for it by google. But the most content is about "fftw.h", could someone tell me how to use the library "drfftw.h"? Thanks.
 
Old 07-09-2017, 10:08 PM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Arch Linux, Debian
Posts: 277

Rep: Reputation: 59
@SkyBlu You are better off starting your own thread rather than necrobumping a 13+ year old thread...
 
Old 07-10-2017, 05:31 PM   #5
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 2,532

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
I found this,
Quote:
Installing FFTW in both single and double precision

It is often useful to install both single- and double-precision versions of the FFTW libraries on the same machine, and we provide a convenient mechanism for achieving this on Unix systems.

When the --enable-type-prefix option of configure is used, the FFTW libraries and header files are installed with a prefix of `d' or `s', depending upon whether you compiled in double or single precision. Then, instead of linking your program with -lrfftw -lfftw, for example, you would link with -ldrfftw -ldfftw to use the double-precision version or with -lsrfftw -lsfftw to use the single-precision version. Also, you would #include <drfftw.h> or <srfftw.h> instead of <rfftw.h>, and so on.

The names of FFTW functions, data types, and constants remain unchanged! You still call, for instance, fftw_one and not dfftw_one. Only the names of header files and libraries are modified. One consequence of this is that you cannot use both the single- and double-precision FFTW libraries in the same program, simultaneously, as the function names would conflict.

So, to install both the single- and double-precision libraries on the same machine, you would do:

./configure --enable-type-prefix [ other options ]
make
make install
make clean
./configure --enable-float --enable-type-prefix [ other options ]
make
make install

Last edited by AwesomeMachine; 07-10-2017 at 05:32 PM.
 
2 members found this post helpful.
Old 07-12-2017, 10:39 PM   #6
SkyBlu
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by AwesomeMachine View Post
I found this,
Thank you ,it give me much help.
 
Old 07-12-2017, 10:41 PM   #7
SkyBlu
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by TheEzekielProject View Post
@SkyBlu You are better off starting your own thread rather than necrobumping a 13+ year old thread...
Yeah,I will be careful next time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 06:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration