Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
7234 Discussions

Need help to convert codes that used guide library

Yu-ching_Tong
Beginner
810 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
Honored Contributor III
810 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
Honored Contributor III
811 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
810 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