add slurm support for ex 7