Intel's Math Kernel Library files

324 views
Skip to first unread message

km0010...@gmail.com

unread,
May 10, 2018, 7:09:55 PM5/10/18
to LCZero
Is there a more convenient way to get the files?

In this Windows-centric part of the chess world, I am running Arena on my Mac via Wine. This way I usually dont have to deal with compiling anything. 

However, Math Kernel Library files from Intel seem to come with an .exe extracter/installer (w_mkl_2018.2.185.exe) that does not work on my Mac. 

Is there another way to get the needed Windows files?

Albert Silver

unread,
May 10, 2018, 7:59:43 PM5/10/18
to LCZero
It might not support your processor. What is the CPU?

km0010...@gmail.com

unread,
May 10, 2018, 8:16:44 PM5/10/18
to LCZero
It's what Apple sells now, which is the Broadwell ULT 1.8 GHz i5 5350U one. 

I was assuming it would work since all the Haswell builds for Stockfish work and the fastest tournament builds of YaneuraOu shogi engines work, too.

Albert Silver

unread,
May 10, 2018, 8:48:31 PM5/10/18
to km0010...@gmail.com, LCZero
So what happens when you try to install the file? Does it crash? Does it say that it doesn't support or can't find the right CPU?

--
You received this message because you are subscribed to a topic in the Google Groups "LCZero" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lczero/gb7CUbZzBc4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lczero+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lczero/54b8f527-3541-426e-84b8-4ff6237869b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

km0010...@gmail.com

unread,
May 10, 2018, 9:36:33 PM5/10/18
to LCZero
I can't install the .dll files since w_mkl_2018.2.185.exe crashes and just halts. 

If Windows just provided the .dll files in a compressed file, then i guess i wouldn't have any problems.

FWCC1

unread,
May 11, 2018, 1:00:46 AM5/11/18
to LCZero
How do you download all of the files from the site that they provide

km0010...@gmail.com

unread,
May 11, 2018, 8:15:39 AM5/11/18
to LCZero
You have to register with Microsoft. You create an account and give them your name & email address so they can put on their mailing lists. 

As for the files, you can't download them directly. You have to download their installer programs, which the files are hidden inside of.

Nabil Danial

unread,
May 11, 2018, 8:28:20 AM5/11/18
to LCZero
You can use 7zip or another equivalent archiver GUIs and locate the following files in (w_mkl_2018.2.185.exe\installs\cmp_and_libs\185\ww_mkl_core_intel64_p_18.0.2.185\data1.cab\) folder inside the installer:

- mkl_avx2_dll (if you're using AVX2 build)
- mkl_mc3_dll (if you're using popcnt build, i haven't tested this one yet)
- mkl_core_dll 
- mkl_sequential_dll 

and rename the suffix from _dll to .dll. Copy them into the same folder as your lczero MKL build is and Leela should work then.

edu.teu.ac.jp

unread,
May 11, 2018, 8:56:52 AM5/11/18
to LCZero
Thanks, it works for me. I'm using AVX build.

km0010...@gmail.com

unread,
May 11, 2018, 9:03:41 AM5/11/18
to LCZero
Me too. Thank you very much!

I wasn't aware one could do this for installer .exe files. (Incidentally, the Unarchiver program wasn't flexible to uncompress it. But, the Keka program did the trick.)

Although there isnt a 0.10 version to compare yet, for version 0.09, the avx version is a little less than twice as fast on my computer.

FWCC1

unread,
May 11, 2018, 9:33:46 AM5/11/18
to LCZero
So with this method she is stronger using CPU instead of GPU dependent?
Message has been deleted

Nabil Danial

unread,
May 11, 2018, 9:46:21 AM5/11/18
to LCZero
Depends on what you have. GPU is always faster than CPU of similar price regardless of the backend implementations. Though it should be noted than MKL should be ~2 times faster than OpenBLAS implementation.
Reply all
Reply to author
Forward
0 new messages