Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Yu-ching_Tong
Beginner
110 Views

Need help to convert codes that used guide library

Jump to solution

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
110 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
111 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

110 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