Sunday, July 3, 2016

Parallel programming with python

Module multiprocessing vs pp (parallel python) :
http://stackoverflow.com/questions/5181949/using-the-multiprocessing-module-for-cluster-computing

multiprocessing looks like better, general, if multiple node doesn't necessary.

multiprocessing
https://docs.python.org/2/library/multiprocessing.html

List of the libraries :
https://wiki.python.org/moin/ParallelProcessing

example)
http://www.parallelpython.com/content/view/17/31
http://www.parallelpython.com/content/view/15/30/#QUICKSMP
http://www.parallelpython.com/content/view/15/30/#QUICKCLUSTERS
To launch ppserver,
$ python /usr/local/bin/ppserver.py -s mypassword

#myclient.py
import pp
server = pp.Server(ppservers=("127.0.0.1", secret='mypassword')

No comments:

Post a Comment