blocking script interfaced with the slurm standard