Menu

#258 Error when compiling with MKL

release_4.3.x
open
nobody
None
3
2018-11-20
2018-11-20
No

I get the following error when compiling with icpc:

/itpp/signal/transforms.cpp(189): error: identifier "MKL_FFT" is undefined
    mkl::mkl_domain_set_num_threads(1, MKL_FFT);

Details:
Compiler: icpc (ICC) 19.0.0.117 20180804
CMake arguments: -DBLA_VENDOR=Intel11

I was able to fix it by changing line 189 in transforms.cpp from

mkl::mkl_domain_set_num_threads(1, MKL_FFT);

to

mkl::mkl_domain_set_num_threads(1, MKL_DOMAIN_FFT);

Discussion


Log in to post a comment.