[kepler-users] Python Actor is not running in parallel under PN Director

Daniel Korytina Daniel.Korytina at Colorado.EDU
Fri Jul 31 13:32:23 PDT 2009


Hello,

I am striving for some simple parallel execution, but I'm not sure why its not working.

My workflow has:
1. PN director
2. Python Actor (which runs random sleep(), 0-5 seconds)

Because the Python actor uses time.sleep(), it has virtually 0% processor load.

- I've timed it with the PN Director, then replaced the PN Director with an SDF Director. But the speed is practically identical. 

Here's the workflow I'm referring to (very simple):
http://sites.google.com/site/korytina/kepler-files/random_sleep.xml

Q: Is there a simple way to run multiple copies of Python to get faster execution time?

Thank you,
Daniel



More information about the Kepler-users mailing list