-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugin: initialize plugin w/ cores-per-node count
Problem: The priority plugin does not know about basic system information it will need in order to enforce a max-cores limit per association, such as the number of cores on a node. Add an estimation of a cores-per-node count estimate during the initialization of the priority plugin by fetching resource.R from the KVS. Store this estimate in a global variable in the plugin. Add this estimate to the list of information returned in the plugin.query callback.
- Loading branch information
Showing
2 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters