Question

Before submitting one job, could I query one node's status, if the node is free, then submit it into the node; if not ,then submit the job into another free node. I want the job to run on the total node, not sharing with other jobs. Is there any way?

Was it helpful?

Solution

Since you've tagged this sungridengine I'll assume that's what you are using. Explicitly requesting by name a node that is currently empty doesn't guarantee that nobody will submit a job later that will be assigned to the same host.

To achieve this the admin needs to create an exclusive resource and associate it with each execution host. You can then request said resource to get the whole node.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top