Use of SCONE -- by Li Chen


Table of Contents

  1. Run program on SCONE directly
  2. Log onto SCONE
  3. Transfer file to SCONE
  4. Use condor to run programs on SCONE
  5. Some useful commands

Run program on SCONE directly

I use Cygwin/X:

startx

ssh -l username -X scone.maths.bris.ac.uk

ssh harpo (or any other machine)

Then run program as usual

Back to Top

Log onto SCONE

ssh scone.maths.bris.ac.uk

or

ssh -l username scone.maths.bris.ac.uk

Back to Top

Transfer file to SCONE

scp filename scone.maths.bris.ac.uk:~/.

Back to Top

Use condor to run programs on SCONE

To run R code via condor:

For example, the R code is in the file runonscone.r. You need to write a cmd file which runs the R commands in the file runonscone.r.

A cmd file can be something as the following:

                   executable      = /usr/local/R-2.7.0/bin/R  ## you need to check which version is available

                   Universe        = vanilla 

                   error           = condor.err 

                   output          = condor.out 

                   log             = condor.log 

                   input           = runonscone.r 

                   Arguments = --save -q ## you may change accordingly

                   queue

Save this cmd file as test.cmd (name whatever you like). Transfer both test.cmd and runonscone.r to SCONE.

Run the condor_submit command: condor_submit test.cmd

You can submit many jobs with one cmd file if you wish.

You will receive an email once the job is done.

Manual page for condor_submit

For a detailed description, please see Submitting a Job.

Back to Top

Some usful commands

uptime: check the running time and average load for a machine/node/...

condor_q: show the state of the condor queue

condor_rm ID#: remove a job with ID#

Back to Top

Revised: 08/28/08.
Back to Li's homepage