Submit a Single Job

Note: In the job examples provided, each job performs sleep xx, which is wait, do nothing, for the duration specified by the integer value xx.
When submitting a single job:
  • Use an environment snapshot.
  • The default resource list is the vovarch of the machine that submits the job.
  • The name of the log file is automatically computed.

Run a Job, No Specifications

% nc run sleep 30
Resources= sun5
Env = SNAPSHOT(vnc_logs/env912488489.csh)
Command = sleep 30
Logfile = vnc_logs/20020704/150449.6528
JobId = 00002539

Run a Job, Environment Specified (-e)

% nc run -e BASE sleep 30
...

Run a Job, Environment and Resources Specified (-r)

% nc run -e BASE -r linux -- sleep 30
Resources= linux
Env = BASE
Command = sleep 30
Logfile = vnc_logs/20020704/150515.6528
JobId = 00002544

Run a Job, Environment and Resources Specified, Limited Verbosity (-v)

# Control verbosity: print the jobId only.
% nc run -v 1 -e BASE -r linux -- sleep 30
00002579
# Running a job,  environment and resources specified, limited verbosity and wait for job to finish (-w):
% nc run -w -v 0 -e BASE -r linux -- sleep 30