.. SPDX-FileCopyrightText: (C) The Kokkos-FFT development team, see COPYRIGHT.md file .. .. SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception .. _finding_libraries: Finding FFT libraries by CMake ============================== Some tips to find FFT libraries for each backend. `FFTW `_ ----------------------------- If ``FFTW`` is offered as a module, our CMake helper would likely find ``FFTW``. Assuming ``FFTW`` is installed in ````, it is expected that ```` would be found under ``LIBRARY_PATH``, ``LD_LIBRARY_PATH``, and ``PATH``. It would look like .. code-block:: bash LIBRARY_PATH=...:/lib LD_LIBRARY_PATH=...:/lib PATH=...:/bin If CMake fails to find ``FFTW``, please try to set ``FFTWDIR`` in the following way. .. code-block:: bash export FFTWDIR= `cufft `_ --------------------------------------------- `hipfft `_ ------------------------------------------ `rocfft `_ ------------------------------------------ `oneMKL `_ --------------------------------------------------------------------------------------- The most likely scenario to miss ``oneMKL`` is that forgetting to initialize ``oneAPI``. Please make sure to initialize ``oneAPI`` as .. code-block:: bash /setvars.sh --include-intel-llvm