Next: Example
Up: FBSNG Command Line Interface
Previous: Examples
  Contents
The exec allows to execute shell commands as batch processes
without creating a JDF file. This command submits simple one section
batch job. Also, this command can be used to run batch processes
in interactive mode.
The format of the command is:
fbs exec -q <queuename> [<other options>] <command> [<arguments> ...]
Command options are:
- -q <queue name> - submit the section into specified queue,
this is required parameter, similar to QUEUE JDF field;
- -I - run batch processes in interactive mode;
- -v - verbose output including equivalent JDF file;
- -s <section name> - assign section name, default is Exec,
similar to section name in JDF;
- -n <numproc> - run <numproc> parallel batch processes, default is 1,
similar to NUMPROC JDF field;
- -p <proctype> - use the specified process type, default is determined
by the queue the section is submitted to, similar to PROC_TYPE
JDF field;
- -w <wait time> - wait for completion of this job for specified amount
of time. Wait time can be specied as integer number of seconds, or
-1 or "forever" to make it wait indefinitely. This option is
ignored in interactive mode;
- -h <hold time> - hold the job until specified time, similar to
HOLD_TIME or AFTER JDF field;
- -r "<resource>:<amount> ... <attribute>" - request additional
resources for each process, similar to PROC_RESOURCES JDF field;
- -i <increment> - submit the job at higher or priotity (minimal
queue priority plus the specified increment), similar
to PRIO_INC JDF field;
- -m <e-mail address> - send e-mail message with job completion
report to the specified address, similar to MAIL_TO JDF field;
- -e <stderr file path template> - redirect batch process stderr
file, similar to STDERR JDF field;
- -o <stdout file path template> - redirect batch process stderr
file, similar to STDOUT JDF field;
- -N <node>,... - specifies the list of nodes to run the job on,
similar to ON_NODES JDF field;
- <cmmand> [<arguments>] - the command to be executed by batch
processes, similar to EXEC JDF field.
Subsections
Next: Example
Up: FBSNG Command Line Interface
Previous: Examples
  Contents
FBSNG Home