CPU / GPU allocation at resource designation in Univa Grid Engine(UGE)

UGE assigns virtual CPUID / GPUID according to the specified number of resources except f_node.

  • In case of CPU

As an example of s_core of a resource type that reserves only one CPU and resource type q_core that reserves 4 CPUs,
When s_core=7 is specified, seven nodes are allocated and 1 core of each node is allocated.
When q_core=7 is specified, seven nodes are allocated and 4 cores of each node are allocated.

  • In case of GPU

In the case of resource type s_gpu that reserves only one GPU,
When s_gpu=4 is specified, 4 nodes are reserved and the GPU of each node is virtually assigned as GPU 0.
Just because you secured 4, it does not mean GPU 0, 1, 2, 3.

In h_node which is a resource type that reserves 2 GPUs, 2 GPUs are allocated within the node, in this case GPU 0 and 1 are allocated.