Number of cores assignment for each PC in HPC Cluster Manager RRS feed

  • Question

  • Hi, all

    I am using HPC Cluster Manager to run an MPI application in 2 PCs. Each PC contains 8 core and normally 16 cores will be run for the program. Is it possible for me to set it to run with 2 cores, using 1 core per PC?

    (Reason I need to have this is that, my program will trigger start of numerous at each PC internally, this is to ensure that numerous threads will be triggered at both PC).

    Commands like mpiexec /hosts 2 HEADNODE 1 NODE01 1 can't be used with 

    'This node is a resource manged by the Microsoft HPC Scheduler and mpiexec was attempting to use ti without a scheduled job.'

    is reported.


    Regards, Simon

    Tuesday, March 29, 2016 7:51 AM


  • Hi Simon,

    If you ask for two nodes (job submit /numnodes:2) and provide the command mpiexec -c X .... it will run X cores per node. In your case X would be 1

    job submit /numnodes:2 mpiexec -c 1 myApp.exe

    If you want to run different number of cores per node you can do something like this

    job submit /numnodes:2 /askednodes:hostA,hostB mpiexec -hosts 2 hostA X hostB Y myapp.exe


    • Marked as answer by Simon Tong Wednesday, March 30, 2016 5:29 AM
    Tuesday, March 29, 2016 11:43 PM