Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
13 Views

/mac/tbb/lib not found when linking

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?

0 Kudos
3 Replies
Highlighted
13 Views

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

0 Kudos
Highlighted
Beginner
13 Views

How to invoke the compiler through the links under "/usr/local/bin" folder, please?

0 Kudos
Highlighted
13 Views

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

0 Kudos