[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-17 Thread Zhong Pan
Thanks for the information. I will install 0.5.0-rc4 binary and try a small benchmark among Julia, Matlab (forgot which version I have probably 2013), also Anaconda Python 2.7 with and without MKL. I will avoid loops in doing so. Will drop an email regarding commercial solution over at Julia

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-17 Thread Tony Kelman
That benchmark doesn't say what they were using for "normal backends" - was it openblas or atlas or the reference blas, which set of kernels, were they using multithreading, etc. The open source Julia build will almost certainly have faster FFT's than SciPy without MKL, since Julia uses FFTW

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-16 Thread Zhong Pan
I saw benchmarks showing impressive speedup using Anaconda + MKL vs. open source library. For example, https://github.com/ContinuumIO/mkl-optimizations-benchmarks For my application, a representative problem would be split-step Fourier method (https://en.wikipedia.org/wiki/Split-step_method).

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-16 Thread Tony Kelman
mic probably means xeon phi, so that's likely for cross compiling to a xeon phi device from a windows host. Based on the sizes of the .lib files, I take what I said back, those probably are static libraries. I did this many months ago and have a Make.user somewhere. Before you spend too much

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-16 Thread Zhong Pan
I completely restarted the build process from fresh (git clone). In addition to the renaming and copying .lib and .dll files, I also did some many configuration of environmental variables before the build. These are mostly based on what

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-16 Thread Zhong Pan
BTW I have re-installed Intel MKL in a folder without any spaces in the path name, so you may notice the location changed. Not sure if it helps, just trying.

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-14 Thread Tony Kelman
Something's broken, you'll probably have to run that in gdb and try to get a backtrace. I don't think the .lib files are full-fledged static libraries (how big are they?), I suspect they are import libraries that go along with the corresponding dll's. So the mingw naming convention from them

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-14 Thread Zhong Pan
Thanks, Tony, with your help I think I am pretty close. Yes you are right, I searched for *.dll and found them in a folder that I didn't notice before. Here's what I did last based on your comments to move things forward a few steps more: (1) Copied all the 17 .lib files from "C:\Program

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-14 Thread Tony Kelman
Which configure file was this from? Julia doesn't need the .lib files, it needs the dll, and I assure you there are dlls in MKL. However some of the dependencies may need the .lib files, and/or you can try copying them to a .dll.a file name if that helps libtool or configure work better. On

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-14 Thread Zhong Pan
BTW I did try Tony's idea of adding "lib" as prefix to each .lib filename. That didn't solve the problem. On Wednesday, September 14, 2016 at 2:07:14 PM UTC-5, Zhong Pan wrote: > > Just to report my progress and ask for help again if anybody succeeded in > building Julia 0.4 or 0.5 on Windows

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-14 Thread Zhong Pan
Just to report my progress and ask for help again if anybody succeeded in building Julia 0.4 or 0.5 on Windows with MKL. I backed off a little and tried building release-0.5 on Windows following the standard instructions below. That is, without any MKL related configurations.

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-13 Thread Zhong Pan
The "Can't open perl script "scripts/config.pl": No such file or directory" error has been solved. See: https://github.com/ARMmbed/mbedtls/issues/541 What I did was to open the CMakeList.txt file under "C:\Users\zpan\Documents\GitHub\julia\deps\srccache\mbedtls-2.3.0-gpl", and replaced

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-13 Thread Zhong Pan
Tony, Thanks for your reply. I did solve the CMAKE_C_COMPILER issue - see my previous post (just 1 min after yours). However, it's not by appending to $PATH though - I had tried adding the gcc path to $PATH and the same error still showed up. Thanks for the hint about adding "lib" prefix. I

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-13 Thread Zhong Pan
Tony, Thanks for your reply. I did solve the CMAKE_C_COMPILER issue - see my previous post (just 1 min after yours). However, it's not by appending to $PATH though - I had tried adding the gcc path to $PATH and the same error still showed up. Thanks for the hint about adding "lib" prefix. I

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-13 Thread Zhong Pan
I realize I may be documenting a bunch of build issues that more experienced programmer may overcome more easily. Anyway since I started, please bear with me. :-) So I solved the problem of incorrect CMAKE_C_COMPILER. What I did was I found the make file that was causing Error 1:

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-13 Thread Tony Kelman
maybe better to just temporarily add gcc's location to your working path for the duration of the make (don't leave it there longer though). I think that linker error is from arpack. Try making a copy of mkl_rt.dll called libmkl_rt.dll and see if that helps. libtool isn't able to link against

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-13 Thread Zhong Pan
OK my non-parallel build bumped into a different problem. It seems the CMAKE_C_COMPILER PATH was not understood. I am not sure what is the correct one, so I tried a few variations: C:/users/zpan/documents/github/julia/usr/x86_64-w64-mingw32/sys-root/mingw/bin/gcc.exe

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-13 Thread Zhong Pan
Thank you Tony for the information. I still had some problem. I tried building Julia (release-0.5) using MinGW following the instructions here: https://github.com/JuliaLang/julia/blob/master/README.windows.md The only difference is, after creating the Make.user file, I edited it using a text

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-12 Thread Tony Kelman
Intel compilers on windows are MSVC style, which our build system is not really set up to handle. There is experimental partial support (search for "MSVC support tracking issue" if you're interested) but it would really require rewriting the build system to use cmake to work smoothly. You can

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-12 Thread Zhong Pan
Thanks! I am still a bit confused about this part: To build Julia for Windows, this page says I need to use MinGW compiler either under MSYS2 or Cygwin: https://github.com/JuliaLang/julia/blob/master/README.windows.md However, to build Julia with MKL BLAS and LAPACK libraries, the first link

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-12 Thread Chris Rackauckas
You just do what it says here: https://github.com/JuliaLang/julia. Then you can replace a lot of the functions using VML.jl On Sunday, September 11, 2016 at 10:35:35 PM UTC-7, Zhong Pan wrote: > > Anybody knows how to build Julia with Intel MKL on Windows?