add slurm support for ex6