background preloader

Parallel Programming related Projects ith Python Interfacing

Facebook Twitter

PyCAM | Free software downloads.

Parallel Programming Laboratory

YML is a research project that aims at providing tools for using. Parallel Python - Parallel Python usage examples. Jug. Talks About Jug Two talks about jug coming up: What is it? It is a light-weight, Python only, distributed computing framework. Jug allows you to write code that is broken up into tasks and run different tasks on different processors. You can also think of it as a lightweight map-reduce type of system, although it's a bit more flexible (and less scalable). It has two storage backends: One uses the filesystem to communicate between processes and works correctly over NFS, so you can coordinate processes on different machines.

Jug is a pure Python implementation and should work on any platform. Jug Documentation and Tutorial Short Example Here is a one minute example. From jug import TaskGenerator from time import sleep @TaskGenerator def is_prime(n): sleep(1.) for j in xrange(2,n-1): if (n % j) == 0: return False return True primes100 = map(is_prime, xrange(2,101)) Of course, this is only for didactical purposes, normally you would use a better method. Now type jug status primes.py to get: PyMW.