Mailinglist Archive: opensuse-packaging (74 mails)

< Previous Next >
Re: [opensuse-packaging] Intel MKL packaging


On 05/08/2017 01:52 AM, Jan Engelhardt wrote:
On Sunday 2017-05-07 21:22, auxsvr wrote:

There are several options to licence Intel MKL (free or community
licence) , which makes including it in the OBS easier. If this is not
allowed, what is the best way to package packages depending on it, e.g.
numpy or pytorch?

The best is not to think about it --- because we already have
a python-numpy package.

The python-numpy we have already is obviously not what he wants ...

@Peter I don't think Intel MKL is allowed on OBS.

If you are able to build numpy against MKL locally then you could download openSUSE's source rpm of python-numpy and change the spec file so that it builds with MKL.

On the other hand you may already see quite good numpy performance if you install openblas.

openblas as well as intel MKL provide optimized libblas.so and liblapack.so implementations which may speed-up numpy dramatically even without rebuild. Just make sure that numpy uses the libs from openblas or MKL at run time. Though to use some of the extra MKL functionality beyond lapack you may need to have it at build time.

cu,
Rudi
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
References