Previous Topic: Job Priority and ReservationNext Topic: Set a Job's Priority


Set Up Resource Dependencies

You can set up a job's resource dependencies using the Resources page in the job definition to specify the resources the job depends on. A job can request any number of different resources.

Follow these steps:

  1. Open the Application in the Define perspective.

    The Application appears in the workspace.

  2. Right-click the job in the workspace, and select Edit from the pop-up menu.

    The Basic page of the job definition dialog opens.

  3. Click Resources in the left pane.

    The Resources page opens in the right pane.

  4. Click Add, specify the resource and quantity, and click OK.

    When the job is readied for submission, the server checks if the requested resources are available.

Example: Set Up Three Resource Dependencies for a Job

A job requires two units of a renewable resource named RESREN, one unit of a depletable resource named RESDEP, and four units of a threshold resource named RESTHRESH.

To set up three resource dependencies for a job

  1. Open the Application in the Define perspective.

    The Application appears in the workspace.

  2. Right-click the job in the workspace, and select Edit from the pop-up menu.

    The Basic page of the job definition dialog opens.

  3. Click Resources in the left pane.

    The Resources page opens in the right pane.

  4. Click Add.

    A new row is added to the Use resources table.

  5. Enter RESREN as the resource name and select 2 as the quantity.
  6. Click Add.

    A new row is added to the Use resources table.

  7. Enter RESDEP as the resource name and select 1 as the quantity.
  8. Click Add.

    A new row is added to the Use resources table.

  9. Enter RESTHRESH as the resource name and select 4 as the quantity.
  10. Click OK.

    When the job is readied for submission, the server checks if the requested resources are available.