PyLoadL

Python Bindings for IBM LoadLeveler


 

Contents

Introduction

Example Code

API :

Download

Issues / ToDo

Miscellaneous

Links / Info

Fair Share

Fair Share Scheduling API


Synopsis


  (rc, errObj) = ll_fair_share(FAIR_SHARE_RESET | FAIR_SHARE_SAVE, Save_dir, Restore_file)

Description


The LoadLeveler Fair Share Scheduling API via PyLoadL has the following functions

ll_fair_share

Allows LoadLeveler administrators to perform certain fair share scheduling operations.

  (rc, errObj) = ll_fair_share(Operation, Save_dir, Restore_file)

Parameters

  1. Operation:

    Specifies an intended operation on fair share scheduling with one of the following values :

    • FAIR_SHARE_RESET

      Indicates that fair share scheduling will be reset either to start from scratch again by erasing all previous historic data, or to start from a previously saved point by reading from a saved data file.

    • FAIR_SHARE_SAVE

      Indicates that a snapshop of the historic data for fair share scheduling will be saved to a file in a specified directory.

  2. Save_dir:

    String : Specifies the directory for saving a snapshot of the historic data for fair share scheduling. A valid directory writable by the central manager must be specified for the FAIR_SHARE_SAVE operation.

  3. Restore_file:

    String : Indicates that the previously saved file will be used in the FAIR_SHARE_RESET operation, if specified, to reset fair share scheduling to a known point.