Thursday, September 11, 2008

installing pylint on win32

Installing pylint on win32 with Python 2.5.2 is fairly straightforward:

1. Download logilab-common (under common), logilab-astng (under astng), and pylint from http://ftp.logilab.org/pub
2. Extract all sources.
3. Inside each base directory, run: C:\Python25\python.exe setup.py bdist_wininst
4. You will find an exe to run in in each directory's dist folder.
5. Install common, then astng, then pylint.
6. Run pylint.bat from C:\Python25\Scripts\pylint.bat

Wednesday, September 3, 2008

My Symmetric Processing Elements

I am trying to turn into a useful individual by learning more about programming for the Cell Broadband Engine. I installed openSUSE Linux 11.0 on my PS3 a few months ago and just last night was able to get some code running.

I followed the following guide:
http://www.ibm.com/developerworks/power/library/pa-linuxps3-1/?ca=dgr-lnxw03Linux-and-Playstation3

Everthing compiled okay, but I kept getting the error "spu_create(): Function not implemented". The fix was to mount the spufs. Contrary to the spufs(7) man page, this was actually done by adding the following to /etc/fstab

none    /spu    spufs   default    0 0

I will still probably need to add the spufs kernel module to /etc/modules so that it is always loaded upon boot.