FFTW3.2Alpha2 installation on linux

Source: Internet
Author: User
FFTW3.2Alpha2 installation on linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. FFTW 3.2-alpha2 came out as early as March 19, but it has been used for the 3.2 or even older versions. This is enough for me to solve the problem of Fourier Pseudo spectrum to simulate the wave field. However, like most linux enthusiasts, new versions of the software are always expected to come out. This is not the case. For me, the advent of FFTW 3.2-alpha2 is difficult to express. Not only does FFTW 3.2-alpha support Cell, but also adds a new 64-bit API, as well as support for Experimental MPI (better support for MPI or version 2.1.5), r2c transformation achieves a faster speed and overwrites support for multithreading.

The installation process is as follows:

(1) first, download the software FFTW 3.2-alhpa2.
Wget http://www.fftw.org/fftw-3.2alpha2.tar.gz

(2). decompress the downloaded software package.
Tar zxvf fftw-3.2alpha2.tar.gz

(3) enter the package configure
./Configure
[Note this. For linuxPC, directly configure. If you want to support MPI, you must add
-- Enable-mpi. If you install -- enable-CELL on the cell, the installation is double by default,
You can also specify to install it as single, just add -- enable-single]

(4). Compile and install the SDK.
Make
Make install
[Ensure that you have the superuser permission to install it under/usr/local/. Of course, you can also specify the installation
Directory, but ldconfig is required for your lib after the installation is complete, which is troublesome. You do not have the superuser permission.
Is a good method]

Finally, it is very easy to call the fftw3 library, that is, you can add-lfftw3 or-lfftw3_mpi (used in parallel) when generating executable files. For example:
Gcc-O3-o foo. c-lwfft3-lm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.