Re: [Numpy-discussion] The BLAS problem (was: Re: Wiki page for building numerical stuff on Windows)

2014-05-12 Thread Olivier Grisel
BLIS looks interesting. Besides threading and runtime configuration, adding support for building it as a shared library would also be required to be usable by python packages that have several extension modules that link against a BLAS implementation.

Re: [Numpy-discussion] The BLAS problem (was: Re: Wiki page for building numerical stuff on Windows)

2014-05-12 Thread Matthieu Brucher
Yes, they seem to be focused on HPC clusters with sometimes old rules (as no shared library). Also, they don't use a potable Makefile generator, not even autoconf, this may also play a role in Windows support. 2014-05-12 12:52 GMT+01:00 Olivier Grisel olivier.gri...@ensta.org: BLIS looks

Re: [Numpy-discussion] The BLAS problem (was: Re: Wiki page for building numerical stuff on Windows)

2014-05-12 Thread Carl Kleffner
Neither the numpy ATLAS build nor the MKL build on Windows makes use of shared libs. The latter due due licence restriction. Carl 2014-05-12 14:23 GMT+02:00 Matthieu Brucher matthieu.bruc...@gmail.com: Yes, they seem to be focused on HPC clusters with sometimes old rules (as no shared

Re: [Numpy-discussion] The BLAS problem (was: Re: Wiki page for building numerical stuff on Windows)

2014-05-12 Thread Matthieu Brucher
There is the issue of installing the shared library at the proper location as well IIRC? 2014-05-12 13:54 GMT+01:00 Carl Kleffner cmkleff...@gmail.com: Neither the numpy ATLAS build nor the MKL build on Windows makes use of shared libs. The latter due due licence restriction. Carl

Re: [Numpy-discussion] The BLAS problem (was: Re: Wiki page for building numerical stuff on Windows)

2014-05-12 Thread Matthew Brett
Hi, On Mon, May 12, 2014 at 6:01 AM, Matthieu Brucher matthieu.bruc...@gmail.com wrote: There is the issue of installing the shared library at the proper location as well IIRC? As Carl implies, the standard numpy installers do static linking to the BLAS lib, so we haven't (as far as I know)

[Numpy-discussion] Distutils - way to check validity of compiler flag?

2014-05-12 Thread Matthew Brett
Hi, I'm sorry to ask this, I guess I should know - but is there any way in disutils or numpy distutils to check whether a compiler flag is valid before doing extension building? I'm thinking of something like this, to check whether the compiler can handle '-fopenmp': have_openmp =

Re: [Numpy-discussion] Distutils - way to check validity of compiler flag?

2014-05-12 Thread Robert McGibbon
In a couple of my projects, we check for flags by compiling little test files -- autotools style -- to check for SSE, OpenMP, etc. See e.g. https://github.com/rmcgibbo/mdtraj/blob/master/setup.py#L215 If anyone has a better solution, I'm all ears. -Robert On Mon, May 12, 2014 at 12:24 PM,

Re: [Numpy-discussion] The BLAS problem (was: Re: Wiki page for building numerical stuff on Windows)

2014-05-12 Thread Carl Kleffner
2014-05-12 19:25 GMT+02:00 Matthew Brett matthew.br...@gmail.com: Hi, On Mon, May 12, 2014 at 6:01 AM, Matthieu Brucher matthieu.bruc...@gmail.com wrote: There is the issue of installing the shared library at the proper location as well IIRC? As Carl implies, the standard numpy