Questions tagged [dispy]

dispy is a Python module for distributed and parallel computing.

dispy is a module for distributed and parallel computing.

Useful links

21 questions
0
votes
1 answer

Node process with dedicated memory in Python

I'm developing with Apache and Django an web application application where users interacts with a data model (C++ implementation wrapped into Python). To avoid load / save data in a file or database after each user operation, I prefer keep data…
0
votes
1 answer

Port 51347 seems to be used by another program

On running the sample code given in the dispy documentation def compute(n): import time, socket time.sleep(n) host = socket.gethostname() return (host, n) if name == 'main': import dispy, random cluster =…
0
votes
1 answer

Python dispy - keep package names for dependencies

Is there a way to keep the package names for python modules that are transmitted via dispy's depends feature? That would allow using packages/modules in the same way when called with and without a dispy context. Simple Example: Module…
0
votes
1 answer

How to ensure distribution of a heavy task to other nodes using dispy?

I'm currently performing computation of the factorial of 10 random numbers using dispy, which "distributes" the tasks to various nodes. However, if one of the computation is of the factorial of a large number let's say factorial(100), then if the…
Naman Sancheti
  • 414
  • 1
  • 8
  • 18
0
votes
0 answers

using dispy to distribute work to ec2 instances

I'm trying to use dispy to distribute work to ec2 instances. I've followed: Using dispy with port forwarding via ssh tunnel http://dispy.sourceforge.net/dispy.html#cloud but it's not going anywhere, the client script is hung and the server node…
OMRY VOLK
  • 1,429
  • 11
  • 24
0
votes
2 answers

how to implement single program multiple data (spmd) in python

i read the multiprocessing doc. in python and found that task can be assigned to different cpu cores. i like to run the following code (as a start) in parallel. from multiprocessing import Process import os def do(a): for i in range(a): …
1
2