victorliu / S4

Stanford Stratified Structure Solver - Electromagnetic simulator for layered periodic structures
http://www.stanford.edu/group/fan/S4/
GNU General Public License v2.0
131 stars 149 forks source link

FFTW3 is not used even when specified #23

Open stevengj opened 9 years ago

stevengj commented 9 years ago

Even if FFTW3_LIB is specified in the Makefile, it is not used. This line in the Makefile defines HAVE_FFTW3, but the source code checks for HAVE_LIBFFTW3.

victorliu commented 9 years ago

Thanks. Several Makefile bugs will be fixed this weekend, along with documentation updates.

On Wed, Jul 29, 2015 at 11:01 AM, Steven G. Johnson < notifications@github.com> wrote:

Even if FFTW3_LIB is specified in the Makefile, it is not used. This line https://github.com/victorliu/S4/blob/bb6038db8cb7bb84a945ced539a09bb7c30a1047/Makefile#L73 in the Makefile defines HAVE_FFTW3, but the source code checks https://github.com/victorliu/S4/blob/bb6038db8cb7bb84a945ced539a09bb7c30a1047/S4/fmm/fft_iface.cpp#L23 for HAVE_LIBFFTW3.

— Reply to this email directly or view it on GitHub https://github.com/victorliu/S4/issues/23.