Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

fftw3 & mkl on mac os

pavel_jelinek
Beginner
809 Views

I'm trying to compile a home-built code using fftw3 subroutines using MKL & ifort through wrappers on Mac OS. I built wrapper using GNU C compiler and it seems that wrapper is OK. however when I do linking of the code with external libraries I get an error:

Undefined symbols:
"_dfftw_destroy_plan_", referenced from:
_laplace_fft_ in laplace_fft.o
_laplace_fft_ in laplace_fft.o
"_dfftw_execute_", referenced from:
_laplace_fft_ in laplace_fft.o
_laplace_fft_ in laplace_fft.o
"_dfftw_plan_dft_c2r_3d_", referenced from:
_laplace_fft_ in laplace_fft.o
"_dfftw_plan_dft_r2c_3d_", referenced from:
_laplace_fft_ in laplace_fft.o
ld: symbol(s) not found

it sounds like the internal soubroutines of fftw3 are not recognized. if I do that on a Linux machine, no problem appears. Could it be related to problem of two underscores in internal names? Please could somebody make a comment?

thanks in advance

jel

Mac OS 10.5 XCode 3.1

MKL v10.0.4.022

Ifort 10.1

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
809 Views

Is this ia32 or em64t ?

Do you mean that you built libfftw3xf_intel lib? If yes, can you find these symbols in this lib?

--Gennady

0 Kudos
Reply