Hello, I found that MKL installs incorrect .pc files for the following variations: mkl64-{,int64}-{dynamic,intel}-openmp*.pc All these files contain references to -liomp5, but this library is located not at MKL libdir, but rather at compiler's lib dir: /opt/intel/composerxe-2013.0.080/compiler/lib/${IARCH}/ This path is not preset in *.pc files, thus link stage fails when affected alternatives are selected. See hpl build log below, which fails when e.g. mkl64-gfortran-openmp is selected as BLAS implementation. This can be fixed by addition of compiler's lib path in *.pc files generation code. See attached patch. Works fine for me, though I want to discuss this patch prior commit since this package is quite important.
Created attachment 364138 [details] hpl_build.log
Created attachment 364140 [details, diff] mkl-11.1.0.080.ebuild.patch Proposed ebuild fix.
Ping. I'll fix this in a week if there are no objections.
+ 08 Dec 2013; Justin Lecher <jlec@gentoo.org> -mkl-11.0.3.163.ebuild, + -mkl-11.0.5.192.ebuild, -mkl-11.1.0.080.ebuild, +mkl-11.1.0.080-r1.ebuild: + Fix linking problems with openmp support, #492802; thanks Andrew Savchenko + for the patch +