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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top