generic work dispatcher for the openmind cluster and other SLURM-based environments