I have a bunch of shell scripts that need to be executed. Currently they are running on a single machine serially which takes a long time.
There are no dependencies among the scripts. I want to execute them in parallel on a cluster. Within each node of a cluster, I'd like to execute multiple scripts in parallel, leveraging multiple cores.
What is the best way to do this in python. I'd like to write a python program that runs on one machine and spawns tasks on other machines on the cluster.
If python is not the best way to go about it, I'd like to know other solutions as well