Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
34 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

Accepted Solutions
Highlighted
Employee
34 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

0 Kudos
2 Replies
Highlighted
Employee
35 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

0 Kudos
Highlighted
Beginner
34 Views

Thanks!

0 Kudos