Add check to submission filter for Desktop requesting for more than one node
This new addition in job_submit.lua checks "Desktop" requests with more than one node, reject them and advise them to try agin with one node instead.
This will reduce Desktop users wasting desktop resource.
Test on test cluster
- Postive tests
[user5@slurm-login ~]$ [user5@slurm-login ~]$ srun -N 1 --partition=comp --job-name=desktop /bin/hostname slurm0
[user5@slurm-login ~]$ srun -N 2 --partition=comp --job-name=desktop /bin/hostname srun: error: The current M3 Desktop applications are unable to utilise more than one node, please select one node instead
srun: error: Unable to allocate resources: Unspecified error [user5@slurm-login ~]$ srun -N 3 --partition=comp --job-name=desktop /bin/hostname srun: error: The current M3 Desktop applications are unable to utilise more than one node, please select one node instead
srun: error: Unable to allocate resources: Unspecified error