Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Yakov_Mindelis
Beginner
181 Views

icc18.0.1 -static-intel links libiomp5 dynamically on Linux x86_64

Jump to solution

Hi,

"icc18.0.1 -static-intel" links libiomp5 dynamically on Linux x86_64. Work around is to link with explicit path libiomp5.a instead of "-qstatic" linker flag, Unfortunately it breaks the implicitness of our deployment scripts.

Yakov Mindelis

0 Kudos
1 Solution
Olga_M_Intel
Employee
181 Views

Yes, this is intended behavior which has been always described in Intel compiler documentation - https://software.intel.com/en-us/node/682903

But implementation was wrong, so starting 18.0.1 it behaves properly.

So, if you need to statically link libiomp, please use "-qopenmp-link=static".

 

View solution in original post

2 Replies
Olga_M_Intel
Employee
182 Views

Yes, this is intended behavior which has been always described in Intel compiler documentation - https://software.intel.com/en-us/node/682903

But implementation was wrong, so starting 18.0.1 it behaves properly.

So, if you need to statically link libiomp, please use "-qopenmp-link=static".

 

View solution in original post

Yakov_Mindelis
Beginner
181 Views

Thanks!

Reply