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 : > Hi, > > On Mon, May 12, 2014 at 6:01 AM, Matthieu Brucher > 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,

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, Matth

[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 = check_compiler

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 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) got a proper location for t

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 : > 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+0

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 : > Yes, they seem to be focused on HPC clusters with sometimes old rules > (as no shared library). > Also, they don't us

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 : > BLIS looks interesting. Besides threading

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. https://code.google.com/p/blis/wiki/FAQ#Can_I_