Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201465 - [science overlay] sci-libs/mkl-10.0.2.018 (version bump)
Summary: [science overlay] sci-libs/mkl-10.0.2.018 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 210718 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-06 08:26 UTC by Eric Thibodeau
Modified: 2008-04-09 01:46 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mkl-10.0.011.ebuild (mkl-10.0.011.ebuild,8.92 KB, text/plain)
2007-12-06 08:30 UTC, Eric Thibodeau
Details
MKL 10.0.1.014 (mkl-10.0.1.014.ebuild,8.55 KB, text/plain)
2007-12-18 01:55 UTC, Eric Thibodeau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Thibodeau 2007-12-06 08:26:16 UTC
mkl-10.0.011 is out (version bump)

Reproducible: Always

Steps to Reproduce:
N/A



I am attaching an ebuild modified from the 9.x series. Note that there seems to be something wrong with the eselect modules since the MKL libs don't show up when calling, for example, eselect cblas list.
Comment 1 Eric Thibodeau 2007-12-06 08:30:31 UTC
Created attachment 137864 [details]
mkl-10.0.011.ebuild

... ok, my bad, I had forgotten to call `ebuild mkl-10.0.011.ebuild qmerge`. So, the ebuild seems to be working correctly, it only needs some cleansing of commented "patches" and whatnot.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2007-12-06 18:09:15 UTC
I don't think it's that easy. The docs said they merged all the cluster stuff into the main package, but that doesn't appear to be reflected in these changes.
Comment 3 Eric Thibodeau 2007-12-06 21:48:33 UTC
True, I am working on getting the clustering stuff to build too...which also implies I am working on the latest OpenMPI ebuild...and the installing ifc.. anyways, a cascade of ebuilds. Will post my results when I get it seemingly working here. For the moment, MKL seems to install correctly as long as the fftw USE flag is not set.
Comment 4 Adam Piątyszek 2007-12-17 21:18:09 UTC
Please note, that MKL 10.0.1.014 is now the latest released version.

BR,
/Adam
Comment 5 Eric Thibodeau 2007-12-18 01:55:01 UTC
Created attachment 138788 [details]
MKL 10.0.1.014

This ebuild works but there is still some cleaning up to do. The "profile" concept from 9.x seems to have been dropped since 10.x series introduced a common interface to all functions (paraphrasing the Readme(s) here).

The ebuild works but is not "clean". What needs to be done:

- Strip out now useless "profile" selection (also verify this)
- Fix up improper use/selection of Fortran compiler.
- Add USE flags for MKL_DOUBLE/MKL_SINGLE selection when compiling interfaces.
-...more...
Comment 6 Eric Thibodeau 2007-12-19 21:31:17 UTC
lib directory is missing:

NOTE the present ebuild is broken, the eselect module is incorrect and the lib directory structure has changed to a point that the mkl_install_lib() function needs to be re-written almost entirely.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-02-19 17:16:03 UTC
*** Bug 210718 has been marked as a duplicate of this bug. ***
Comment 8 Sébastien Fabbro (RETIRED) gentoo-dev 2008-03-14 11:59:52 UTC
Hi,

I finally took the time to work on the new mkl. As usual, linking and packaging changed a lot upstream. The docs are confusing about their new layering system.

Anyway, mkl-10* is now in the science overlay, available with layman. Please test it and report here. I am hoping to push it in the main tree in a few days after a bit more polishing. 

Thanks

Comment 9 Sebastiaan 2008-03-14 13:25:29 UTC
Hi,

Thanks for taking the time to work on this ebuild. It almost works like a charm with USE="doc fftw int64 -debug -fortran95 -mpi" on x86_64. A minor remark:

It gives this message when multiple MKL licenses are found. However, after finishing the emerge, the library works correctly.

>>> Unpacking l_mkl_p_10.0.2.018.tgz to /var/tmp/portage/sci-libs/mkl-10.0.2.018/work
basename: extra operand `/opt/intel/licenses/1974025126_NCOM_L_MKL__NCD9-8BJGW3CF.lic'
Try `basename --help' for more information.

Furthermore, it would be nice if multiple slots can be used, since there are a lot of changes in required libraries when linking against 9.1 or 10.0. (just a reminder for this package)
Comment 10 Sébastien Fabbro (RETIRED) gentoo-dev 2008-03-29 09:12:59 UTC
(
> >>> Unpacking l_mkl_p_10.0.2.018.tgz to /var/tmp/portage/sci-libs/mkl-10.0.2.018/work
> basename: extra operand
> `/opt/intel/licenses/1974025126_NCOM_L_MKL__NCD9-8BJGW3CF.lic'
> Try `basename --help' for more information.

fixed.
 
> Furthermore, it would be nice if multiple slots can be used, since there are a
> lot of changes in required libraries when linking against 9.1 or 10.0. (just a
> reminder for this package)

Yes I know, I will postpone for the next revision with probably an eselect framework for all intel packages.

One last thing: mkl linking did not work if I keep LDFLAGS="-Wl,--as-needed" on packages. Especially with the acx_blas.m4 and acx_lapack.m4 macros that are used through a lot of packages.
Since we can't patch mkl and can't force unsetting the LDFLAGS, I could not com e up with a better idea than adding a -WL,--no-as-needed in the pkg-config files. (I might do the same for acml).

mkl-10.0.2.018 now in cvs. Thanks all for testing.

Comment 11 Eric Thibodeau 2008-04-08 21:06:26 UTC
For the record, mkl fails to build even though I have tried with either gcc-4.2.2 or gcc-4.3 as active compiler (which implies gfortran-4.2.2 or gfortran-4.3.0)

The error message:
None of the needed Fortran Compilers (ifc) is installed.
To install one of these, choose one of the following steps:
[1] emerge dev-lang/ifc

Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2008-04-08 21:47:54 UTC
Looks like a broken test in the code:

        # blas95 and lapack95 don't compile with gfortran < 4.2
        gcc-version lt 4 2 && FORTRAN="ifc"
Comment 13 Sébastien Fabbro (RETIRED) gentoo-dev 2008-04-08 21:50:08 UTC
that was just fixed already.

Comment 14 Eric Thibodeau 2008-04-09 01:46:23 UTC
Fix confirmed, you're too fast Sébastien ;)