Friday 6 February 2009

pypar

Following installation of openmpi, and numpy (both required), pypar:

download:
mkdir ~/downloads/pypar
cd ~/downloads/pypar
wget http://surfnet.dl.sourceforge.net/sourceforge/pypar/pypar-2.1.0_53.tgz
gunzip < pypar-2.1.0_53.tgz | tar xvf -

sudo python setup.py install

failed.

python setup.py install

failed, complaining about a lack of write ability.

sudo python setup.py install

again, then worked! import pypar works, too! Odd.

On reflection, I think I needed to:

python setup.py config
python setup.py build
sudo python setup.py install

Yes. From clean, that worked. Mostly. Actually, there was a complaint about '-fPIC' and '-m64' being files that couldn't be found. odd. Then, later, I found sudo apt-get install python-dev was required, to remove errors re: python.h not being found. This needed an update, upgrade and dist-upgrade to work and I'm now getting error on update. hmmmm. ---- later, on another machine I did: sudo apt-get install subversion; svn checkout http://pypar.googlecode.com/svn pypar-read-only; cd pypar-read-only/source/; sudo python setup.py install; exit log back in and python, import pypar shows it works.

No comments:

Post a Comment