APACGrid Test Suite Two

This is a basic PBS job launch using Globus Toolkit (GT) 4.

What this tests:

  • Execution on a designated queue
  • Collection of stderr and stdout
  • Streaming of stdout and stderr

Additional parameters you may like to add include queue, to select, for example between brecca, edda or wexstan at VPAC. But that's site specific and does not belong here, see below.

To submit jobs with GT4, XML-files are used. If you are not familiar with XML you may want to visit one of the following sites to get an overview: http://www.xml.com/pub/a/98/10/guide0.html, http://www.w3schools.com/xml/default.asp or http://www.xmlfiles.com/xml/.

Request a Proxy

Log in to a Globus equipped machine, a "Submission Node", (at vpac we use edda) and create grid proxy credentials by typing:

grid-proxy-init

Submitting Test Two

Here is a sample RSL file to display the environment on a compute node. Copy the code below to a file called (for example): gt4-env.rsl

<!-- Usage: globusrun-ws -submit -s -J -S -F ng2 -Ft PBS -f gt4-env.rsl -->
<job>
  <executable>/usr/bin/env</executable>
  <!-- Uncomment/edit as appropriate <queue>sque@edda-m</queue> -->
  <maxWallTime>1</maxWallTime>
  <jobType>single</jobType>
</job>

Run the job by typing the command shown in the Usage comment. If everything goes well, you should see something like:

Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:4ab81d4e-ea25-11da-a528-aa0000405c38
Termination time: 05/24/2006 06:28 GMT
Current job state: Pending
Current job state: Active
Current job state: StageOut
A whole lot of information printed here about the environment on the compute node where it ran.
Current job state: CleanUp
Current job state: Done
Destroying job...Done.
Cleaning up any delegated credentials...Done.

Some of the most important rsl-file tags are:

  • executable The command to execute (including the path).
  • directory Without a directory specified there is no guarantee that a job will run in a set location.
  • argument An argument to the command above. It's possible to have no argument or many of them.
  • queue The queue you want to add your job to.
  • maxWallTime The walltime of your job. If you omit it, the default walltime of the queue you selected is used.

-- MarkusBinsteiner - 07 May 2006
-- TerryRankine - 23 May 2006
-- DavidBannon - 25 May 2006
-- GrahamJenkins - 30 Nov 2006

Topic revision: r58 - 19 Dec 2006 - 01:17:20 - DanielCox
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback