[SciPy-User] Install Scipy with Anaconda's MKL libraries

William Heymann immudzen at gmail.com
Tue May 2 04:00:09 EDT 2017


Intel has made MKL, TBB, and a few other things completely free to use,
even in a commercial project. Visual Studio is also free unless you are a
very large company.

https://software.intel.com/en-us/articles/free-mkl

I have been using that for other projects without any problems and
compiling with Visual Studio has been very easy.

On Tue, May 2, 2017 at 1:40 AM, David Hagen <david at drhagen.com> wrote:

> I'll try to stick with MinGW-w64 for now, but I don't even get to the
> compilation phase. If I install lapack and blas from conda-forge, it still
> says that lapack/blas are not found, but you indicated that I need to set
> some paths. Are there instructions for this? I have no idea what
> environment variables to set in order to tell Scipy to use these packages.
>
> On Mon, May 1, 2017 at 3:44 AM, Denis Akhiyarov <denis.akhiyarov at gmail.com
> > wrote:
>
>> I still suggest Intel+MSVC compilers, since you can use trial version or
>> request license for open-source projects from Intel. This is what Anaconda
>> team is using. Also this is what Christoph Gohlke wheels are based on:
>>
>> http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
>>
>> If you end up with m2w64, here is lapack for conda, you may still have to
>> modify paths:
>>
>> https://anaconda.org/conda-forge/lapack
>>
>> And blas:
>>
>> https://anaconda.org/search?q=Blas
>>
>> On Sun, Apr 30, 2017, 5:22 PM Matthieu Brucher <
>> matthieu.brucher at gmail.com> wrote:
>>
>>> Why do you want to pay Intel? You can install the MKL and develop with
>>> it, no sweat.
>>>
>>> 2017-04-30 22:41 GMT+01:00 David Hagen <david at drhagen.com>:
>>>
>>>> > Welcome to the world of pain with building scientific packages from
>>>> source on Windows!
>>>>
>>>> I am beginning to feel it.
>>>>
>>>> > You need Fortran and C/C++ compilers on Windows to build scipy from
>>>> source
>>>>
>>>> I have MinGW-w64 installed, which seems to be the recommended method.
>>>>
>>>> > I’m pretty sure that anaconda does not come with the development
>>>> files for MKL, only the runtime files.
>>>>
>>>> I understand now. It looks like MKL is not the way to go unless I want
>>>> to pay Intel.
>>>>
>>>> > If you don't need mkl and lapack/blas is good enough, then
>>>> m2w64-toolchain from conda should have all necessary dependencies for
>>>> building scipy.
>>>>
>>>> My only goal is to install and use Scipy master somewhere where it
>>>> won't break my stable installation. I thought Anaconda would be a good
>>>> place to start because once I activate an Anaconda environment, I should be
>>>> able to treat like a normal Python installation and follow the normal
>>>> install-from-source instructions. I went ahead and installed that
>>>> m2w64-toolchain package, but it still doesn't find any BLAS/LAPACK. Maybe I
>>>> should change my question to: how do I install Scipy on Windows from
>>>> source? Though when I search for this specifically on the web, the answer
>>>> seems to be "Don't.". It seems that MinGW-w64 and ATLAS are recommended by
>>>> Scipy. Do you know of a conda/pip package that provides ATLAS for building
>>>> Scipy or another more suitable BLAS/LAPACK?
>>>>
>>>> _______________________________________________
>>>> SciPy-User mailing list
>>>> SciPy-User at python.org
>>>> https://mail.python.org/mailman/listinfo/scipy-user
>>>>
>>>>
>>>
>>>
>>> --
>>> Information System Engineer, Ph.D.
>>> Blog: http://blog.audio-tk.com/
>>> LinkedIn: http://www.linkedin.com/in/matthieubrucher
>>> _______________________________________________
>>> SciPy-User mailing list
>>> SciPy-User at python.org
>>> https://mail.python.org/mailman/listinfo/scipy-user
>>>
>>
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User at python.org
>> https://mail.python.org/mailman/listinfo/scipy-user
>>
>>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at python.org
> https://mail.python.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-user/attachments/20170502/a86d5fef/attachment-0001.html>


More information about the SciPy-User mailing list