Installed m_fcompxe_2016.3.068.dmg on a new Mac. When attempting to link a simple "hello world" program (ifort test.f90 -o test), I get this warning:
ld: warning: directory not found for option '-L/opt/intel//compilers_and_libraries_2016.3.170/mac/tbb/lib' ld: warning: directory not found for option '-L/opt/intel//compilers_and_libraries_2016.3.170/mac/tbb/lib'
(it does appear twice). The program works, though. Should I be concerned?
TBB is part of Intel C++ compiler and not included in Intel fortran compiler. The warning is caused by a known issue in the compiler environment setup script. It can be safely ignored.
As a workaround you can install Intel C++ compiler on the system too if you have an valid license. Another way is not sourcing the "compilervars.sh" before using the compiler and just directly invoke the compiler through the links under "/usr/local/bin" folder created by the compiler installation program.
Thanks,
Xiaoping Duan
Intel Customer Support
How to invoke the compiler through the links under "/usr/local/bin" folder, please?
Luan Y. wrote:
How to invoke the compiler through the links under "/usr/local/bin" folder, please?
Not source the "compilervars.sh" before using the compiler.
Thanks,
Xiaoping Duan
Intel Customer Support
For more complete information about compiler optimizations, see our Optimization Notice.