OneAPI 2022's GNU Compiler Collection support are missing

274 views Asked by At

I have tried to install the latest OneAPI base toolkit for MacOS. I need to compile a program that uses OpenMP threading library (mkl_gf_lp64) for the GNU Fortran compiler and LP64 interface library (mkl_gnu_thread) for GNU fortran and C++ compilers.

According to this manual for Linux these are supposed to be installed automatically, but after installing the OneAPI base toolkit I cannot locate any of these library files: libmkl_gf_lp64.a and libmkl_gnu_thread.a They are parts of GNU Compiler collection support and it seems to be missing in MacOS installation package of OneAPI and OneMKL (During installation, I selected all available packages).

Does anyone know how I can include these library files in the OneAPI base installation?

1

There are 1 answers

0
Saeid On BEST ANSWER

The GNU Compiler collection support is an optional component for OneMKL in the Linux system, but it seems they are not available under the MacOS.

It is possible to use MKL Link Line advisor to find the appropriate libraries for each environment.

In my case, I used mkl_intel_lp64 and mkl_intel_thread instead of the above-mentioned libraries.

More information is available at this post of Intel Support communities.