Simple queue system that run code (passed to it as Procs) in parallel, where the number of running processes is limited.

class LoadBalancer

self.run_parallel_multinode_t   self.run_parallel_t  

self.run_parallel_t(nproc,procs)

Parallel execution of array of procs, running simultaneously up to nproc of them.

self.run_parallel_multinode_t(nodes,nproc,procs)

Parallel execution of array of procs, running simultaneously up to nproc of them on each node (nproc * nodes in total). This code does not handle access to the nodes, it just passes number of the node to the proc it calls.