----- Original Message ----- From: "Gregory Petropoulos" <[email protected]>
To: <[email protected]>
Sent: Friday, August 26, 2011 8:38 AM
Subject: [Perldl] PDL::FFTW


Hello,

There is a module called FFTW listed both on the CPAN website and in the PDL documentation that I would like to implement. The module is not in the CPAN repository and therefore I can not install it with '*install PDL::FFTW'; *I
already emailed the good folks at CPAN and they said that there isn't
anything there. Does anyone know where I can get a copy of this? I already have PDL installed and I believe it is the latest version since when i try '
*install PDL'* I am told that PDL is up to date.

PDL::FFTW is part of the PDL source, but it only gets built optionally.

If there's no PDL binary for your platform that contains PDL::FFTW, then you'll have to build it yourself.

To do that you firstly need the fftw library, and it needs to be version 2.x.x (I have version 2.1.5) of that library. The later 3.x.x versions have a different API and won't work with PDL::FFTW.

Then you need to re-build PDL from source.
You may also need to first edit perldl.conf (located in the top level PDL source folder) so that it can find the fftw library. (It's just a matter of editing the FFTW_LIBS and FFTW_INC entries in that file so that they contain the location of the fftw library and headers respectively. With any luck, those entries are already set correctly for you, and you won't need to do this step.)

The 'perl Makefile.PL' step of the PDL build process will tell you whether PDL::FFTW is going to be built or skipped, so keep an eye on it to get advanced warning on whether PDL::FFTW is going to be built or not.

Cheers,
Rob

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to