Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6590 Discussions

Need help to convert codes that used guide library

Yu-ching_Tong
Beginner
204 Views

I am trying to build codes that were written for older Intel Compiler that use the -lguide but I have the Intel Composer XE for Linux and is not compiling. Is it possible to just change the library to use open mp in the linker? Or I need to change the compiler option while compiling? Or I need to change the code?

0 Kudos
1 Solution
TimP
Black Belt
204 Views
-liomp5 should take care of everything in -lguide, if you don't have other version dependencies. If you're simply using OpenMP, setting the compiler option -parallel or -openmp for the link step implies -liomp5 -lpthread, just as it formerly implied -lguide -lpthread.

View solution in original post

2 Replies
TimP
Black Belt
205 Views
-liomp5 should take care of everything in -lguide, if you don't have other version dependencies. If you're simply using OpenMP, setting the compiler option -parallel or -openmp for the link step implies -liomp5 -lpthread, just as it formerly implied -lguide -lpthread.
VipinKumar_E_Intel
204 Views

You may also take a look at the link line advisor tool


http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/

--Vipin
Reply