Difference between revisions of "Sungrid Use"

From Vlsiwiki
Jump to: navigation, search
(New page: We have our machines setup in a grid using a batch queue system. You can submit jobs in one of two ways: == Common Options == -S /bin/sh For the script option below, this specifies whi...)
 
Line 1: Line 1:
We have our machines setup in a grid using a batch queue system. You can submit jobs in one of two ways:
+
== Basic Commands ==
 +
 
 +
We have our machines setup in a grid using a batch queue system. You can check your job status with:
 +
 
 +
qstat
 +
 
 +
You can delete jobs with:
 +
 
 +
qdel
 +
 
 +
where you can specify a specific job ID or all your jobs with "-u yourid".
 +
 
 +
To submit jobs, you use qsub. You can submit jobs in one of two ways:
  
 
== Common Options ==
 
== Common Options ==

Revision as of 22:17, 14 July 2008

Basic Commands

We have our machines setup in a grid using a batch queue system. You can check your job status with:

qstat

You can delete jobs with:

qdel

where you can specify a specific job ID or all your jobs with "-u yourid".

To submit jobs, you use qsub. You can submit jobs in one of two ways:

Common Options

-S /bin/sh

For the script option below, this specifies which interpreter.

-m es

Mail the user on the end or suspension.

-M user@soe.ucsc.edu

What email address to send to.

-cwd

Start the simulation from the current working directory.

-o soc_fpu.log

Standard output.

-e soc_fpu.err

Standard error.

-N "fpu SOC P&R"

A name for the job.

-b y

Specify that the executable is a binary and not a script.

Command Line

qsub <options> -b y <binary> -- <options for the binary>

Example:

qsub -S /bin/sh -m es -M myid@soe.ucsc.edu -cwd -b y -N "myid_hard_area_FP" -e hard_results/n10.err -o hard_results/n10.log ../simanneal/simanneal  -- -i ../benchmarks/hard/n10 -o hard_results/n10 

Script

Instead of specifying all the options on the command line, you can specify them in a script like this:

#!/bin/sh
#$ -S /bin/sh
#$ -m es
#$ -M myid
#$ -cwd
#$ -o hard_results/n10.log
#$ -e hard_results/n10.err
#$ -N "myid_hard_area_FP"
../simanneal/simanneal -i ../benchmarks/hard/n10 -o hard_results/n10 
exit 0