[Numpy-discussion] PyPy guys deserve some help on micronumpy from you, numpy gurus!

2011-09-15 Thread Valery Khamenya
Hi
(replying please Cc to me)

There is a module micronumpy that appeared at PyPy source tree:
https://bitbucket.org/pypy/pypy/src/dfae5033127e/pypy/module/micronumpy/

The great contributions of Justin Peel and Ilya Osadchiy to micronumpy
module revive step-by-step the functionality of numpy.
It would be great if some of numpy-gurus could jump in to assist, contribute
some code and also, perhaps, guide a bit where the things go deeply in numpy
nature.

For those who don't know yet much about PyPy:
PyPy is a fast implementation of Python 2.7.
As a rule of thumb, PyPy is currently about 4x times faster than CPython.
Certain benchmarks taken from the real life show 20x speed-up and more.
The successes of PyPy performance are very remarkable http://speed.pypy.org/

best regards
--
Valery A.Khamenya
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] numpy + ubuntu 9.10 (karmic) + unladen swallow

2010-02-23 Thread Valery Khamenya
Hi all,

After getting the answers above on the maillist I palyed a bit more
with building numpy.
However without success.

Nevertheless I've found the way to install it using unladen-swallow itself :)
http://groups.google.com/group/unladen-swallow/browse_thread/thread/80f7ccb68a9dcea3#b015202752197989

So, the question is currently closed for me.

Kind regards
--
Valery
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


[Numpy-discussion] numpy + ubuntu 9.10 (karmic) + unladen swallow

2010-02-22 Thread Valery Khamenya
Hi all,

I know the formula works, but fail to reproduce it :)

Issue #1. the following entry from numpy installation docs is perhaps
out-of-date, at least as for ubuntu karmic:

  sudo apt-get install gcc g77 python-dev atlas3-base-dev

Neither g77 nor atlas3-base-dev are available.

Perhaps, g77 from previous ubuntu distro could work, but it would be
good to see what installation docs says about this trick.


Issue #2. The following definition of include_dirs in site.cfg doesn't
seem to be used by gcc:

  [DEFAULT]
  include_dirs = /usr/local/include:/home/me/wrk/unladen-trunk/Include

I build numpy like that:
  PYTHONPATH= ~/wrk/unladen-trunk/python setup.py build
Where the python executable is the one from the great unladen-swallow project.

Such invocation leads fast to the following error:

...
compile options: '-Inumpy/core/src -Inumpy/core/include -IInclude
-I/home/vak/me/unladen-trunk -c'
gcc: _configtest.c
_configtest.c:1:20: error: Python.h: No such file or directory
...

Indeed, the directory /home/me/wrk/unladen-trunk/Include isn't listed
for -I flag

Any hints?

thanks in advance :)

best regards
--
Valery
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion