ITK: cant add FFTW complie
Description
complie ITK5.3rc04 ,using
cmake -DITK_USE_MKL=ON -DITK_USE_FFTWD=ON -DMKLROOT=/opt/intel/oneapi/mkl/2022.2.0 -DITK_USE_SYSTEM_FFTW=ON ..
I installed MKL. I want to install FFT using MKL for acceleratation ,but get FFTW package not found.
Versions
ITK5.3rc04
Environment
Ubuntu22.02 CMake 3.22.1
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (9 by maintainers)
Thanks Very Much @dzenanz @jhlegarreta ! I solved this issue.
In the end , i use this command:
cmake -DITK_USE_MKL=ON -DITK_USE_FFTWD=ON -DITK_USE_SYSTEM_FFTW=ON -DMKLROOT=/opt/intel/oneapi/mkl/2022.2.0 -DCMAKE_INSTALL_PREFIX=../install ..A way to use MKL is to provide its path, and then it impersonates FFTW, which requires FFTW ON and SYSTEM_FFTW flags.