10 December 2015

SciPy

System: Slackware Linux (version 14.0)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

Installation of SciPy version 0.14.1.

http://slackbuilds.org/repository/14.1/academic/
http://slackbuilds.org/repository/14.1/development/
http://slackbuilds.org/repository/14.1/libraries/
http://slackbuilds.org/repository/14.1/python/
https://pypi.python.org/pypi/scipy/0.14.1

bash-4.2# installpkg Cython-0.23.4-i486-1_SBo.tgz \
> docutils-0.11-i486-1_SBo.tgz libsodium-1.0.6-i486-1_SBo.tgz \
> OpenBLAS-0.2.11-i486-1_SBo.tgz pyparsing-2.0.3-i486-1_SBo.tgz \
> pysetuptools-18.2-i486-1_SBo.tgz pytz-2014.10-i486-1_SBo.tgz

...

bash-4.2#

A SlackBuild for zeromq is located in the sidebar.

bash-4.2# installpkg backports-ssl-match-hostname-3.4.0.2-i486-1_SBo.tgz \
> MarkupSafe-0.23-i486-1_SBo.tgz pyglet-1.2.4-i486-1_SBo.tgz \
> zeromq-4.0.7-i486-1_SBo.tgz

...

bash-4-2#

bash-4.2# installpkg Jinja2-2.7.3-i486-1_SBo.tgz \
> Pygments-2.0.2-i486-1_SBo.tgz pyzmq-14.5.0-i486-1_SBo.tgz \
> tornado-4.2.1-i486-1_SBo.tgz

...

bash-4.2#

bash-4.2# installpkg Sphinx-1.2.3-i486-1_SBo.tgz

...

bash-4.2#

bash-4.2# installpkg mock-1.0.1-i486-1_SBo.tgz nose-1.3.4-i486-1_SBo.tgz \
> numpydoc-0.5-i486-1_SBo.tgz

...

bash-4.2#

bash-4.2# installpkg six-1.10.0-i486-1_SBo.tgz

...

bash-4.2#

bash-4.2# installpkg python-dateutil-2.4.2-i486-1_SBo.tgz

...

bash-4.2#

Perhaps this code block in the numpy.SlackBuild can be commented out,
as of scipy-0.14.0 AMD and UMFPACK are no longer supported.

cat > site.cfg <<EOF
[amd]
library_dirs = /usr/lib${LIBDIRSUFFIX}
include_dirs = /usr/include/amd
amd_libs = amd

[umfpack]
library_dirs = /usr/lib${LIBDIRSUFFIX}
include_dirs = /usr/include/umfpack
umfpack_libs = umfpack
EOF

bash-4.2# installpkg numpy-1.9.1-i486-1_SBo.tgz

...

bash-4.2# python -c 'import numpy; numpy.test()' >output1 2>&1
bash-4.2# tail output1
----------------------------------------------------------------------

Ran 5588 tests in 220.939s

OK (KNOWNFAIL=5, SKIP=13)
Running unit tests for numpy
NumPy version 1.9.1
NumPy is installed in /usr/lib/python2.7/site-packages/numpy
Python version 2.7.3 (default, Jul  3 2012, 21:16:07) [GCC 4.7.1]
nose version 1.3.4
bash-4.2#

bash-4.2# installpkg matplotlib-1.4.2-i486-1_SBo.tgz \
> numexpr-2.4.6-i486-1_SBo.tgz

...

bash-4.2#

bash-4.2# installpkg ipython-3.1.0-i486-1_SBo.tgz

...

bash-4.2#

Change the version number in the scipy.SlackBuild from
0.14.0 to 0.14.1.

bash-4.2# installpkg ipython-mathjax-2.5.1-noarch-1_SBo.tgz \
> scipy-0.14.1-i486-1_SBo.tgz sympy-0.7.6-i486-1_SBo.tgz

...

bash-4.2#

bash-4.2# installpkg Bottleneck-1.0.0-i486-1_SBo.tgz

...

bash-4.2#

bash-4-2# installpkg pandas-0.17.1-i486-1_SBo.tgz

...

bash-4.2# python -c 'import scipy; scipy.test()' >output2 2>&1
bash-4.2# tail output2
Ran 16450 tests in 1295.544s

OK (KNOWNFAIL=146, SKIP=1189)
Running unit tests for scipy
NumPy version 1.9.1
NumPy is installed in /usr/lib/python2.7/site-packages/numpy
SciPy version 0.14.1
SciPy is installed in /usr/lib/python2.7/site-packages/scipy
Python version 2.7.3 (default, Jul  3 2012, 21:16:07) [GCC 4.7.1]
nose version 1.3.4
bash-4.2# exit