When there's two allocations for the same resource, (e.g., allocation-cpu and allocation-gpu), currently there's no way to add two allocations for the same resource. Only ways to workaround this right now are:
- create TWO resources for the same resource (e.g., AnvilCPU and AnvilGPU), add cpu queues on the cpu resource, and gpu queues on the gpu resource, and define the allocations respectively.
- create two group resource profiles for cpu and gpu, and configure them separately. then when running, give --group to differentiate between CPU and GPU.
To remove this limitation, we should be able to add multiple allocations to the same resource.