Appendix C: Adding New Algorithms
Moab Workload Manager®

Appendix C: Adding New Algorithms with the "Local" Interface

Moab Workload Manager allows you to add your own routines to provide a local interface. The following routines have stubs in MLocal.c:

Routine Description
MLocalAdjustActiveJobStats Adjust job statistics
MLocalCheckFairnessPolicy Enforce a new job fairness policy
MLocalInitialize Initialize scheduler system
MLocalJobAllocateResources Per node job allocation algorithm
MLocalJobCheckNRes Filter nodes by job reservation
MLocalJobDistributeTasks Task to processor mapping algorithm
MLocalJobInit Initialize a job
MLocalNodeGetPriority Adjust node allocation priority based on local parameters
MLocalNodeInit Initialize a node
MLocalJobPostStart Called after a job has started
MLocalJobPreStart Called before a job starts
MLocalQueueScheduleIJobs Priority scheduling algorithm
MLocalReqCheckResourceMatch Filter nodes by job requirements

If using either a source or binary release of Moab, to integrate local changes, modify the src/moab/MLocal.c file and issue make install.