Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration fails since 'No fftw_malloc in -lfftw3' #16

Closed
yonatansmn opened this issue Feb 3, 2020 · 1 comment
Closed

Configuration fails since 'No fftw_malloc in -lfftw3' #16

yonatansmn opened this issue Feb 3, 2020 · 1 comment

Comments

@yonatansmn
Copy link

I try to configure C code as follows:
./configure --with-fftw=/usr/local/fftw-3.3.6-pl2/
But I receive the error stated in the title.
I've tried adding the lib directory to the LD_LIBRARY_PATH and configure it with -L.

Thanks for the help

@johncbowman
Copy link
Member

This indicates an installation problem with your FFTW3 library. Perhaps you inadvertently disabled this at configuration time. I note there is a --with-our-malloc configure option. The latest version of FFTW3
is 3.3.8, so this would be a good time to upgrade. Here are the configuration options that I use:

configure --enable-sse2 --enable-shared --prefix=/usr --enable-mpi --enable-openmp --disable-fortran --enable-avx2

You are strongly recommended to use fftw_malloc:
http://www.fftw.org/fftw3_doc/Memory-Allocation.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants