Use Jobclasses
A jobclass allows multiple job parameters to be set in a single object that can be requested at submission time.
Find Jobclasses
To list the available classes from the command line, use the jobclass subcommand of the nc command.
% nc jobclass
1 short
2 interactive
The jobclass subcommand accepts the repeatable option -1. The first option includes the description, and the second option shows the values to which VOV_JOB_DESC slots will be set.
In addition, Accelerator provides the Jobclass page. This page shows a table of the jobclass, with links to the definitions of each class, and to the sets containing the jobs in that class. It also shows the pass/fail status as a bar graph.
nc jobclass
List classes defined for job submission
vnc: Usage Message
NC JOBCLASS:
List classes defined for job submission
USAGE:
% nc jobclass [OPTIONS]
OPTIONS:
-h -- This help
-l -- Long format (with description)
-ll -- Longer format.
-v -- Increase verbosity.
EXAMPLES:
% nc jobclass
% nc jobclass -l
% nc jobclass -ll
Submit Jobs Using Jobclasses
% nc run -C short sleep 10
Jobs in a class are automatically added to a set named after the class, for example
Class:interactive
.
% nc run -C verilog -e DEFAULT -- run_sim chip
% nc run -e DEFAULT -C verilog -- run_sim chip
In the first invocation, the option -e overrides the specifications for the environment to be used for the job. In the second invocation, the environment is determined by the definition of the verilog jobclass.