locked
Setting the resource unit type on a task to "Socket", while the resource unit type on the job is set to "Core" RRS feed

  • Question

  • In Microsoft HPC Pack 2016, is it possible to set the resource unit type on a task to "Socket", while the resource unit type on the job is set to "Core"?

    If not, what are the workarounds? Can one set the task resource unit type to "Core" but all the cores allocated for the task should be on one "socket" or on one NumaNode?


    Thursday, September 20, 2018 5:48 PM

All replies

  • Currently, all tasks in a job should share the same unittype as the job.

    But why you need job requests resource as "core" but the task is "socket"? You want some task within the job requests core, some task request socket?



    Qiufang Shi

    Friday, September 21, 2018 7:55 AM
  • Why I need job requests resource as "core" but the task is "socket"? Because although most of the tasks in the job are CPU bound, there is one special task which performs a lot of memory access. That particular task would perform much better if the cores allocated for that task are on one socket.

    I'd hope Microsoft HPC can provide a feature to support the above scenario.


    Thursday, September 27, 2018 5:12 PM
  • Thanks for the explaination.

      One of the item in our to do list in next release is to support "Single Node" task, which shall serve your needs: You can create task that requires more than 1 core and meanwhile have "SingleNode" property set for that task. The scheduler will allocate all the cores from one single Node. 


    Qiufang Shi

    Saturday, September 29, 2018 6:09 AM
  • Before that feature is available, you have two alternative ways:

    1. Split your current job into two jobs, the second job has unittype=socket

    2. Have your current job unittype=socket. And wrapper your current single core task. (Eg, your task need to spawn more instances so that it could occupy all the cores from the socket that assigned to you


    Qiufang Shi

    Saturday, September 29, 2018 6:12 AM
  • Yes, the "Single Node" task property will work!

    What is the timeline for the next release?

    Thursday, October 4, 2018 5:18 PM
  • HPC Pack 2019 will be a major release, target to release end of 2019.

    Qiufang Shi

    Monday, October 8, 2018 5:32 AM