MPI CPU binding to specific core range

Viewed 535

I am running a desktop with 32 cores (physical) on Windows 10 and have various MPI jobs I launch. I am trying to avoid a scheduler such as PBS as it is overkill for a single user, I am instead looking for if there is a way to specify which cores the MPI-task is launched on?

i.e. :

mpiexec -n 8 [core 0 to core  7] task.1
mpiexec -n 8 [core 8 to core 15] task.2      # etc...

I have seen various methods posted using powershell to set processor affinity but these do not appear to work, there are also options in the Intel MPI for :

  Processor topology options:
    -bind-to                         process binding
    -map-by                          process mapping
    -membind                         memory binding policy

But -map-by does not seem to lock to a specific core.

0 Answers
Related