Chapter 12. Managing Jobs

Gold can track the jobs that run on your system, recording the charges and resources used for each job. Typically, a job record is created when the resource manager charges for a job. Job quotes, reservations, charges and refunds can be issued.

12.1. Creating Jobs

In most cases, jobs will be created by the resource management system with the gcharge command (See Charging Jobs).

However, it is also possible to create job records by hand using the command gold Job Create:

goldsh Job Create JobId=<Job Id> [User=<User Name>] [Project=<Project Name>] [Machine=<Machine Name>] [Charge=<Charge>] [Queue=<Class or Queue>] [Type=<Job Type> (Normal)] [Stage=<Last Job Stage>] [QOS=<Quality Of Service>] [Nodes=<Number Of Nodes>] [Processors=<Number Of Processors>] [State=<Job State>] [Executable=<Executable>] [Application=<Application>] [StartTime=<Start Time>] [EndTime=<End Time>] [WallDuration=<Wallclock Time in seconds>] [QuoteId=<Quote Id>] [Description=<Description>] [ShowUsage:=True]

Example 12-1. Creating a job record

$ goldsh Job Create JobId=PBS.1234.0 User=jsmith Project=chem Machine=cluster Charge=2468 Processors=2 WallDuration=1234

Successfully created 1 Job