(1) Can I have the cluster object global across machines so that once a job is submitted, that job in turn can submit other dissimilar smaller jobs?
cluster = dispy.JobCluster(compute)
(2) Can the "compute" function be different each time I invoke a submit?
(1) I believe you need to look into the
SharedClusterobject, of which I'm not familiar.(2) You can create different "functions" inside of the
computefunction usingifstatements and passing a selection argument tocompute: