Run Basic Jobs
Submitting jobs to Accelerator is quite simple: just use nc run followed by the command you would use without Accelerator.
Run a Sleep Job
% cd # Go to your home directory
% nc run sleep 10
Resources= linux
Env = D(VOV_ENV_SOURCE=vnc_logs/envdexin36362.env)
Command = vw vwrap sleep 10
Logfile = vnc_logs/20021230/103409.13784
JobId = 04194422
nc: message: Scheduled jobs: 1 Total estimated time: 0s
Run Sleep Job with -r Option to Override Default Resources
By default, nc run takes the architecture of the machine from which the job is submitted as the job's resource. This can be overriden with -r option when needed.
This job requires no resource.
% nc run -r "" -- sleep 10
Resources=
Env = D(VOV_ENV_SOURCE=vnc_logs/envdexin36362.env)
Command = vw vwrap sleep 10
Logfile = vnc_logs/20021230/103653.13794
JobId = 04194459
nc: message: Scheduled jobs: 1 Total estimated time: 0s
This job requires spice_license.
% nc run -r spice_license -- sleep 10
Resources= spice_license
Env = D(VOV_ENV_SOURCE=vnc_logs/envdexin36362.env)
Command = vw vwrap sleep 10
Logfile = vnc_logs/20021230/103948.13803
JobId = 04194497
nc: message: Scheduled jobs: 1 Total estimated time: 0s
Run Job with -e Option to Override Default Environment
By default, nc run takes a snapshot of the environment as the job's environment and uses this to run your job. You can override this with -e option to use a named environment.
% nc run -e BASE sleep 10
Resources= linux
Env = BASE
Command = vw vwrap sleep 10
Logfile = vnc_logs/20021230/122737.14946
JobId = 04195924
nc: message: Scheduled jobs: 1 Total estimated time: 0s
% vel
vel: message: Environment directories:
1 /remote/release/VOV/7.0u3/linux64/local/environments
1 . tcl BASE UNIX utilities, X windows, and VOV.
1 . tcl D Define variables: Usage: ves "+D(VAR1=value1,...)"
1 * tcl DEFAULT Just a name for whatever you already have.
1 . tcl HSIM Fake Nassda hsim env for Virage testing
1 . csh SYNOPSYS Synopsys tools
Scripts that implement named environments may be written in csh, sh, or Tcl syntax. Cross-platform environments between Windows and UNIX/Linux must be written in Tcl. You can use named environments from the command line using the command ves.