(rc, errObj) = ll_fair_share(FAIR_SHARE_RESET | FAIR_SHARE_SAVE, Save_dir, Restore_file)
The LoadLeveler Fair Share Scheduling API via PyLoadL has the following functions
Allows LoadLeveler administrators to perform certain fair share scheduling operations.
(rc, errObj) = ll_fair_share(Operation, Save_dir, Restore_file)
- Operation :
Specifies an intended operation on fair share scheduling with one of the following values :
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.
Indicates that a snapshop of the historic data for fair share scheduling will be saved to a file in a specified directory.
- 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.
- 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.