Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show free resources #44

Open
JRMeyer opened this issue Jul 27, 2020 · 1 comment
Open

show free resources #44

JRMeyer opened this issue Jul 27, 2020 · 1 comment

Comments

@JRMeyer
Copy link

JRMeyer commented Jul 27, 2020

if you want to send a job to a GPU, you need to deduce which gpus are free via:

pit show nodes

and then:

for node in nodes:
    pit show node:$node

This isn't very efficient, and something along the lines of pit shoe nodes:free would be better

@tilmankamp
Copy link
Contributor

This is not as trivial as it sounds, as the scheduler could have queued-up jobs that are waiting for some resource to be released.
So there are at least two different reports required:

  1. Showing nodes and GPUs that are not used at the moment (rather simple to implement, but requires also changes to the Snakepit service itself).
  2. Showing nodes and GPUs that are not used by running jobs and that no job is waiting for (rather hard to implement and also requires changes to the Snakepit service).

Admittedly in practice report 1 is enough and would help already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants