Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6941 Discussions

Need help to convert codes that used guide library

Yu-ching_Tong
Beginner
381 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
381 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

0 Kudos
2 Replies
TimP
Black Belt
382 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.
0 Kudos
VipinKumar_E_Intel
381 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
0 Kudos
Reply