Community
cancel
Showing results for 
Search instead for 
Did you mean: 
moby
Beginner
53 Views

Setting MKL Environment

Hello,
I recently installed the latest version of Intel MKL on MAC OS X. I have a code that utilizes the FFTs and I am having some trouble linking with the appropriate module file as I am receiving the following message when I compile:
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_DFTI]
USE MKL_DFTI
I compile using the following command:
ifort file.f90 -lmkl_rt
My .bash_profile contains the following:
# set environment variables
source /opt/intel/composerxe/mkl/bin/intel64/mklvars_intel64.sh mod lp64
# set up environment for Intel compiler
source /opt/intel/composerxe/bin/compilervars.sh intel64
What more do I need to link correctly with the DFTI module file? I always seem to have this problem and I don't know why it's not explained in more detail in the documentation.
Thanks,
Moby
0 Kudos
1 Reply
barragan_villanueva_
Valued Contributor I
53 Views

Hi,

Please compile mkl_dfti.f90 file first which is located in $MKLROOT/include directory.
It looks like corresponding mkl_dfti.mod is not yet in product MKL
Reply