...
Tip |
---|
The restriction value is actually evaluated as an expression, and multiple clusters are specified in a "this cluster OR that cluster OR the other cluster" type of string, with the " || " symbol to mean OR. |
Examples
Job Restrictions
Definition | Syntax | Meaning |
---|---|---|
qbsub -cl /private -restr /private <cmd> | Submit a job that will have highest priority in /private and run only in /private | |
qbsub -cl /private/very -restr '/private || /private/*' <cmd> | Submit a job that will have highest priority in /private/very, but could run in any host in | |
qbsub -cl /private/very/deep -restr '/private or || /private/*+' <cmd> | Submit a job that will have highest priority in /private/very/deep, but could run in any |
Worker Restrictions
Syntax | Meaning | |
---|---|---|
Definition | Syntax | |
worker_cluster = "/private/very/deep | -restr '" | or / | private/+' hostname
Worker Restrictions
very/deep" | Define a host that will only run jobs in /private/very/deep | |
worker_cluster = "/private/very/deep" | Define a host that will run jobs in any cluster at /private or 1 level below - done with the * | |
worker_cluster = "/private/very" | Define a host that will only run jobs in /private/very or any level below - done with the + | worker_cluster = "/private/very" |