Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ld: warning

moby
Beginner
696 Views
Hello,
I recently installed the Intel Fortran Compose XE 2011 compiler onto MAC OSX, but when I try to compile a simple program (e.g. "ifort hello.f90"), I get the following:
ld: warning: directory not found for option '-L/Library/Frameworks/Intel_MKL.framework/Versions/10.0.2.018/lib/em64t'
I have older versions of the compiler and mkl on the system, though I have reset all the environment variables and can't seem to figure out where this warning is coming from. Any thoughts on this?
Thanks,
Moby
0 Kudos
1 Reply
Ron_Green
Moderator
696 Views
Have you checked that directory, /Library/Frameworks/Intel_MKL.framework/Versions/10.0.2.018/lib/em64t - does it exist and are the permissions OK for it?

Next, I don't know what compiler version you are using, but you will need to source either compilervars.sh or ifortvars.sh. That script should be down in your bin/ directory in the installation area:

source /opt/intel//bin/ifortvars.sh intel64
or
source /opt/intel/bin/compilervarsh.sh

Also, you haven't upgraded to Lion by chance, have you? See the warnings on this forum about Lion and older compilers.

ron
0 Kudos
Reply