[Numpy-discussion] Multi-distribution Linux wheels - please test

Nadav Horesh nadavh at visionsense.com
Tue Feb 9 09:07:35 EST 2016


Do not know what happened --- all test passed, even when removed openblas (Nathaniel was right).

Manylinux config:

python -c 'import numpy; print(numpy.__config__.show())'
blas_opt_info:
    define_macros = [('HAVE_CBLAS', None)]
    libraries = ['openblas']
    language = c
    library_dirs = ['/usr/local/lib']
lapack_opt_info:
    define_macros = [('HAVE_CBLAS', None)]
    libraries = ['openblas']
    language = c
    library_dirs = ['/usr/local/lib']
blas_mkl_info:
  NOT AVAILABLE
openblas_lapack_info:
    define_macros = [('HAVE_CBLAS', None)]
    libraries = ['openblas']
    language = c
    library_dirs = ['/usr/local/lib']
openblas_info:
    define_macros = [('HAVE_CBLAS', None)]
    libraries = ['openblas']
    language = c
    library_dirs = ['/usr/local/lib']
None


Source installtion:

python -c 'import numpy; print(numpy.__config__.show())'
openblas_info:
    library_dirs = ['/usr/local/lib']
    libraries = ['openblas', 'openblas']
    language = c
    runtime_library_dirs = ['/usr/local/lib']
    define_macros = [('HAVE_CBLAS', None)]
openblas_lapack_info:
    library_dirs = ['/usr/local/lib']
    libraries = ['openblas', 'openblas']
    language = c
    runtime_library_dirs = ['/usr/local/lib']
    define_macros = [('HAVE_CBLAS', None)]
lapack_opt_info:
    extra_compile_args = ['-g -ftree-vectorize -mtune=native -march=native -O3']
    runtime_library_dirs = ['/usr/local/lib']
    define_macros = [('HAVE_CBLAS', None)]
    libraries = ['openblas', 'openblas', 'atlas', 'f77blas', 'cblas', 'blas']
    language = c
    library_dirs = ['/usr/local/lib', '/usr/lib']
blas_mkl_info:
  NOT AVAILABLE
blas_opt_info:
    extra_compile_args = ['-g -ftree-vectorize -mtune=native -march=native -O3']
    runtime_library_dirs = ['/usr/local/lib']
    define_macros = [('HAVE_CBLAS', None)]
    libraries = ['openblas', 'openblas', 'atlas', 'f77blas', 'cblas', 'blas']
    language = c
    library_dirs = ['/usr/local/lib', '/usr/lib']
None

________________________________________
From: NumPy-Discussion <numpy-discussion-bounces at scipy.org> on behalf of Matthew Brett <matthew.brett at gmail.com>
Sent: 08 February 2016 09:48
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] Multi-distribution Linux wheels - please test

Hi Nadav,

On Sun, Feb 7, 2016 at 11:13 PM, Nathaniel Smith <njs at pobox.com> wrote:
> (This is not relevant to the main topic of the thread, but FYI I think the
> recarray issues are fixed in 1.10.4.)
>
> On Feb 7, 2016 11:10 PM, "Nadav Horesh" <nadavh at visionsense.com> wrote:
>>
>> I have atlas-lapack-base installed via pacman (required by sagemath).
>> Since the numpy installation insisted on openblas on /usr/local, I got the
>> openblas source-code and installed  it on /usr/local.
>> BTW, I use 1.11b rather then 1.10.x since the 1.10 is very slow in
>> handling recarrays. For the tests I am erasing the 1.11 installation, and
>> installing the 1.10.4 wheel. I do verify that I have the right version
>> before running the tests, but I am not sure if there no unnoticed side
>> effects.
>>
>> Would it help if I put a side the openblas installation and rerun the
>> test?

Would you mind doing something like this, and posting the output?:

virtualenv test-manylinux
source test-manylinux/bin/activate
pip install -f https://nipy.bic.berkeley.edu/manylinux numpy==1.10.4 nose
python -c 'import numpy; numpy.test()'
python -c 'import numpy; print(numpy.__config__.show())'
deactivate

virtualenv test-from-source
source test-from-source/bin/activate
pip install numpy==1.10.4 nose
python -c 'import numpy; numpy.test()'
python -c 'import numpy; print(numpy.__config__.show())'
deactivate

I'm puzzled that the wheel gives a test error when the source install
does not, and my best guess was an openblas problem, but this just to
make sure we have the output from the exact same numpy version, at
least.

Thanks again,

Matthew
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion



More information about the NumPy-Discussion mailing list