The job submit plugin added to slurm version 2.2 would be ideal for this See "JobSubmitPlugins" in "man slurm.conf", See: https://computing.llnl.gov/linux/slurm/job_submit_plugins.html and see the examples in the SLURM tar-ball, especially: src/plugins/job_submit/partition ________________________________________ From: [email protected] [[email protected]] On Behalf Of Michael Di Domenico [[email protected]] Sent: Friday, February 04, 2011 9:53 AM To: slurm-dev Subject: [slurm-dev] default queue by command
Is it possible to set the default partition for each of the s* commands? For example: srun -> defaults to prod queue (interactive use) salloc -> defaults to prod queue (interactive use) sbatch -> defaults to nightly queue (batched) (runs at night only) We've thought about overloading the sbatch command by forcing "-p nightly" as being an option, but I'm not sure what would happen when someone tried to "sbatch -p prod" and effectively has two -p options on the command line
