locked
How to prevent splitting of assigned cores on multiple nodes RRS feed

  • Question

  • Hi,

    Is it possible to prevent splitting of the assigned cores of one job on multiple nodes? I like to have a multithreaded task, but all assigned cores should be on one node.

    Regards,

    Sven

    Monday, February 8, 2010 5:28 PM

Answers

  • Hi Sven,

    /corespernode and possibly /memorypernode might be of interest to you.

    The following runs your program on any node with at least 4 cores.

    job submit /numnodes:1 /corespernode:4 <test>

    Regards,
    Colin
    -Colin, Microsoft HPC
    Wednesday, February 10, 2010 8:45 PM
    Moderator

All replies

  • Hi Sven,

    Can you try the following methods:

    1) Assume you want to use node1, it has 8 cores. your job requires N <= 8 cores, then
         job submit /askednodes:node1 /numprocessors:N <test>   
       where N <= 8

    2) If you need more than 8 cores, e.g. 15 cores, then do
        job submit /askednodes:node1,node2 /numprocessors:15 <test>

    liwei
    Tuesday, February 9, 2010 6:57 PM
  • Hi,

     

    I know, I can request a specific node. But normally, the users do not want to take care, which node to use. Especially, if all nodes are busy and he do not know which is ready first. So my question is, is their somewhere an option flag? And if not, is it planed in one of the next versions?

    Regards,

    Sven

    Wednesday, February 10, 2010 2:27 PM
  • Hi Sven,

    /corespernode and possibly /memorypernode might be of interest to you.

    The following runs your program on any node with at least 4 cores.

    job submit /numnodes:1 /corespernode:4 <test>

    Regards,
    Colin
    -Colin, Microsoft HPC
    Wednesday, February 10, 2010 8:45 PM
    Moderator
  • HI,

    Thanks, this is the options I was looking for.

    Regrads,
    Sven
    Thursday, February 11, 2010 7:46 AM