Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Ankündigungen
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 Diskussionen

Need help to convert codes that used guide library

Yu-ching_Tong
Einsteiger
811Aufrufe

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 Lösung
TimP
Geehrter Beitragender III
811Aufrufe
-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.

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
TimP
Geehrter Beitragender III
812Aufrufe
-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
Mitarbeiter
811Aufrufe

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
Antworten