There is FFTW library installed by an administrator system-wide, in
/usr/lib64, and it includes
When I compiled this library myself, before it was installed by sysadmin, I have noticed that you have to choose between OpenMP and pthreads version:
--enable-threads, but using OpenMP compiler directives in order to induce parallelism rather than spawning its own threads directly. Useful especially for programs already employing such directives, in order to minimize conflicts between different parallelization mechanisms. Use either
--enable-threads, not both; in either case the multi-threaded FFTW interface/library (see Multi-threaded FFTW) is compiled (with different back ends).
The distribution is Gentoo, so theoretically either is possible.
How to check if said library was compiled with OpenMP support (which would be best), or with pthreads?