Questions tagged [parallel-python]

Parallel Python provides mechanism for parallel execution of python code on SMP (systems with multiple processors or cores) and clusters (computers connected via network)

Parallel Python (PP) is a Python module which provides mechanism for parallel execution of python code on SMP (systems with multiple processors or cores) and clusters (computers connected via network).

PP module overcomes the limitations imposed by the GIL (Global Interpreter Lock) on multithreading and provides a simple way to write parallelPpython applications. Internally ppsmp uses processes and IPC (Inter Process Communications) to organize parallel computations.

All the details and complexity of the latter are completely taken care of, and your application just submits jobs and retrieves their results (the easiest way to write parallel applications).

The software written with PP works in parallel even on many computers connected via local network or Internet (clusters). Cross-platform portability and dynamic load-balancing allows PP to parallelize computations efficiently even on heterogeneous and multi-platform clusters.

65 questions
0
votes
1 answer

Parallel Python to make fractal and resource serialized under pp

I make one python script to make fractal image. I try to use pp python module to make faster this source code. The big issue is: image.putpixel((x, y), (i % 8 * 16, i % 4 * 32,i % 2 * 64)). This line of source code when is use like job give me…
0
votes
1 answer

Working with parallel python and classes

I was shocked to learn how little tutorials and guides there is to be found on the internet regarding parallel python (PP) and handling classes. I've ran into a problem where I want to initiate a couple of instances of the same class and after that…
MPA
  • 1,878
  • 2
  • 26
  • 51
0
votes
3 answers

secret must be set using command-line option or configuration file

I have written a code for parallel programming in python.I am using pp module for this. job_server = pp.Server(ncpus, ppservers=ppservers) where ncpus=8 which is no. of core in my system. python version:2.6.5. pp version:1.6.2. But I am facing an…
user1372331
  • 37
  • 1
  • 5
-1
votes
1 answer

how to incorporate parallel python with django

I was wondering if there is a way to incorporate pp (Parallel Python) with django. This would be great because I have multiple computers and I want to use them to better handle the requests.
Superman
  • 196
  • 1
  • 2
  • 8
-2
votes
1 answer

Image filtering python

I'm trying to fix this function that tries to filter an image in python in parallel, but the function isn't working: def parallel_filtering_image(r): # r: is the image row to filter # image is the global memory array # my_filter is the…
1 2 3 4
5