locked
Limit task (not job) to single node RRS feed

  • Question

  • Hello,

    I have a job with multiple OpenMP tasks, that are independent. Each task requires 4 cores to run, but these 4 cores should be on single node. How to limit task to single node, but not limit the whole job?

    Currently when I request 4 cores for each task, sometimes the cores are allocated as: 3 cores on 1 node + 1 core on another node (if there is other workload on cluster).

    I can't use resource unit type = node or socket because I want multiple tasks per node, and I have nodes with various number of cores in my cluster, i.e. I have nodes with 16 cores (8 cores per socket) and nodes with 64 cores (16 cores per socket). On node with 16 cores I would like to run 4 OpenMP tasks, on node with 64 cores -  16 tasks.


    Monday, May 29, 2017 6:11 AM

All replies

  • Hi, Nikita,

      You might need subscribe your socket to 4 cores, and set the job and task unit type to be socket, and every task requires 1 socket. If there is task that requires 1 cores, you may need to seperated it from the socket job.

    Qiufang


    Qiufang Shi

    Monday, May 29, 2017 8:21 AM