Directing jobs to particular machines

Posted by chris Thu, 14 Feb 2008 22:54:16 GMT

Andreas posted today a short usage tip for people who need to direct their jobs to particular named execution hosts. It covers the syntax for referencing an execution host name after a queue name or wildcard character:

You can do this with the -q option:

   -q "*@comp28,*@comp29"

or even shorter

  -q "*@comp28|comp29"

with the -l option you can specify the host(s) like this

  -l h=comp28|comp29

if you have a large cluster with high throughput I recommend
the -q being used since -q matchmaking is generally faster.

Note: One more additional syntax tip - remember your "@" vs. "@@" usage syntax:

  • -q all.q@comp28 -- refer to a specific host
  • -q all.q@@LinuxNodes -- refer to a specific hostgroup