Welcome to Windows HPC Community Sign in | Join | Help
in Search

Applications Blog

Running MPI ranks/processes on specific nodes

We have seen this question come up many times...I recall Ming Xu has already shed light on this in another post in another newsgroup but I think this post will make a bit easier for CCS users.
 
Scenario:
 
A user wants to run:
  • rank 0 on node h1,
  • rank 1 on node h3,
  • rank 2 on node h2,
  • rank 3 on node h1
 
Steps to enable that scenario:
 
C:\> job submit /numprocessors:6 /askednodes:h1,h2,h3 mpiexec -hosts 4 h1 h3 h2 h1 <exe path>
 
Assumptions:
  • The machines are dual-processors boxes

       /numprocessors:6 and askednodes:h1,h2,h3 gets three of those machines

  • "mpiexec -hosts 4 h1 h3 h2 h1" will place the rank 0 on h1, rank 1 on h3, rank 2 on h2, rank3 on h1
Published Thursday, June 01, 2006 2:47 PM by NileshL

Comments

 

The Official Windows HPC Blog said:

posted Thursday, June 01, 2006 2:47 PM by NileshL | 0 Comments We have seen this question come up many
October 17, 2008 11:38 AM
Anonymous comments are disabled

This Blog

Post Calendar

<June 2006>
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

Syndication

©2006 Microsoft Corporation. All rights reserved. Terms of Use |Trademarks |Privacy Statement
Powered by Community Server, by Telligent Systems