How to use FFTW on taki

Note: This page has not been updated to reflect the move to taki from maya.


The Fastest Fourier Transform in the West is a library written in C that optimizes the Fast Fourier Transform algorithm. To access the FFTW3 library with or without MPI, please make sure the following modules are loaded:

1) gcc/4.8.4                    
2) openmpi/gcc/64/1.8.5         
3) fftw3/openmpi/gcc/64/3.3.4

To compile a program, in this case named ‘test.c’, use the following command:

[slet1@maya-usr2 fftw]$ mpic++ test2.c -o test -lm -lfftw3_mpi