Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library
- Updating MKL without rebuilding application

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

mvrht__u3425923

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-20-2018
01:43 PM

55 Views

Updating MKL without rebuilding application

Hello,

I am using NumPy/SciPy manually built with MKL as BLAS. I am wondering is it possible to update from MKL 2018 update 3 to MKL 2019 without rebuilding NumPy/SciPy?

Thanks in advance for providing information!

1 Solution

mecej4

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-20-2018
11:41 PM

55 Views

In what follows, I assume that you are building on Windows. If not, replace "DLL" by "shared"/"shared library".

If you linked your NumPy with the static MKL libraries, updating MKL will have no effect on NumPy. If you want NumPy to use the more recent BLAS in MKL 2019, you will have to rebuild NumPy. If you don't care, or there is no announced improvement in the BLAS, your NumPy will continue to work as it did before you updated MKL.

If you linked NumPy using the DLL MKL libraries, you do not have to rebuild NumPy at all. However, if you wish NumPy to use the MKL 2019 DLLs, you have to replace the path to the MKL 2018 DLLs with the path to the MKL 2019 DLLs, or make the path to the new DLLs appear first.

Link Copied

3 Replies

mecej4

Black Belt

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-20-2018
11:41 PM

56 Views

In what follows, I assume that you are building on Windows. If not, replace "DLL" by "shared"/"shared library".

If you linked your NumPy with the static MKL libraries, updating MKL will have no effect on NumPy. If you want NumPy to use the more recent BLAS in MKL 2019, you will have to rebuild NumPy. If you don't care, or there is no announced improvement in the BLAS, your NumPy will continue to work as it did before you updated MKL.

If you linked NumPy using the DLL MKL libraries, you do not have to rebuild NumPy at all. However, if you wish NumPy to use the MKL 2019 DLLs, you have to replace the path to the MKL 2018 DLLs with the path to the MKL 2019 DLLs, or make the path to the new DLLs appear first.

mvrht__u3425923

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-21-2018
01:35 AM

55 Views

Hi, mecej4,

sorry for not providing full information. Yes, it is windows build linked with DLLs and there will be no problem with path as I am going to uninstall old version. Thank you for answering!

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-21-2018
08:36 PM

55 Views

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

For more complete information about compiler optimizations, see our Optimization Notice.