These days, I tried a walkaround to implement FFT in julia with the help of 
the MKL fft properties. 

I wrote a fortran module with several subroutines, in some of which the MKL 
FFT function was called. The fortran file was compiled to a shared library.

       ifort modules.f90  -parallel -mkl -lm -O3 
-I/opt/intel/composer_xe_2015.0.090/mkl/include -                   
 L/opt/intel/composer_xe_2015.0.090/mkl/lib/intel64   -shared -fpic -o 
new.so

the test.jl reads:
      ccall((:mymodule_mp_ground_, "new"), Int,())

when I ran the julia code with:
      julia test.jl
I got 
      Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.

What might go wrong? Do I need to give the whole fortran module code for 
analysis?

Reply via email to