Command options, Example of shake command xml – Apple Qmaster 3 User Manual
Page 83

Once the job is submitted successfully, this command displays the batch ID (identifier)
and job ID (identifier) in the shell.
Command Options
This table provides information about each of the command options for submitting jobs.
Description
Submission command option
Use to specify the name of the cluster to which you want to send
the job. Using the cluster name, Apple Qmaster looks for the cluster
on the network in order to use it.
-clustername
Use to specify a name for the batch so that you can easily recognize
it in Batch Monitor.
-batchname
Optionally, you can use
-clusterid
to enter the cluster ID and
port number instead of using
-clustername
. (When you enter
the cluster ID and port, less time is required to find the cluster on
the network.)
Or, if you used
-clustername
and the cluster requires a password,
use
-clusterid
to specify the user name and password. (You
need to include the
IP address:port number
as well whenever
you use
-clusterid
.)
Use
Apple Qmaster -show
to see a cluster’s IP address and port
number.
-clusterid name:password@IP address:port number> Specifies the kind of command you are entering: Shell, Shake, Maya, or other command, depending on the application you want to use for distributed processing. -command Specifies the command with XML code. Enter the XML code after -options , with the necessary qualifiers for entering it in a shell. See , next, for an example. If no -option is entered, the values from the application’s preferences file, in ~/Library/Preferences/, are used (which are the -options Use to specify the working directory path (from which the command -wd Use to specify the number of seconds before Apple Qmaster can -timeout Shows the ID information for the cluster specified with -clustername or -clusterid , or for all clusters if no cluster is specified. -show Displays information about supported options for Apple Qmaster . -help Example of Shake Command XML The code below is an example of XML code for submitting a Shake command. 83 Chapter 7 Using the Command Line
values of the most recent job submitted).
should be executed). The default working directory is
/Applications/Shake.
quit when looking for a cluster. The default value is 0, which puts
no limit on the timeout and allows Apple Qmaster to browse the
network for as long as it needs to find the cluster.