- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an old package, which was written for old Intel compilers (version 9 or 10). When building it with something newer, it fails to link
libguide_stats.a
Which no longer exists in Composer XE 2013. What library now includes the functions which were in libguide_stats?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robin,
If you are trying to build your application with newer compilers, you are not supposed to need libguide_stats.a. Please note, one should not mix and match different major versions of the compiler. Please explain why you need that library.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Evidently, that library was involved in the old implementation of OpenMP, and it's particularly important not to mix differing versions of OpenMP libraries. If you use Intel C++ to link, the option -qopenmp (-openmp in your version) takes care of OpenMP (libiomp5.so) and pthreads.
In case you link with gcc, https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor includes advice on -liomp5 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In reply to Feilong, the ancient makefile requested libguide and libguide_stats. I had replaced libguide by libiomp5, but left libguide_stats in.
Anyway, next day I deleted libguide_stats, the linking proceeded and I got the executables.
I am not mixing major versions - I am using the same compiler version for Fortran, C and C++.
BTW at what version did libguide get replaced by iomp5? I hope to amend those makefiles to link the appropriate libraries for different compiler versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robin,
> BTW at what version did libguide get replaced by iomp5?
The answer to your question above: Version 12.0 and upwards
Thanks,
Kittur

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page