-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource: support gpus in resource.status
Problem: fluxion tests fail when run with the new resource.status RPC. The failing tests involve gpus, which it turns out are not supported by rlist_set_allocated() (#5807) so they do not appear in the 'allocated' object in the new resource.status RPC. Instead of marking resources allocated and the extracting the allocated object with rlist_copy_allocated(), just use the set already provided by the job-manager. However that presents one other obstacle because although fluxion includes properties in the R objects returned by sched.alloc, sched-simple does not. Therefore, add some code to copy any matching properties into the allocated set before returning it in the resource.status response.
- Loading branch information
Showing
1 changed file
with
115 additions
and
43 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