Answered Forcing Rank 0 to a particular cluster node

  • 2009年9月28日 11:57
     
     

    Our cluster has a mix of machines, and  I need rank 0 in my application to run on a particular node that has the capabilities the controlling rank needs. Is there some way to do this I'm missing?

     

すべての返信

  • 2009年10月12日 16:19
     
     回答済み

    There is no really good and simple way to do that.

    What I suggest is that you launch a batch file that manipulates the CCP_NODES environment variable to set it with your rank 0 node first. (e.g., using env var string substitution)


    thanks,
    .Erez

  • 2011年5月4日 22:16
     
     回答の候補

    We posted a script on the Script Center that helps you assign the Rank0 process to a particular node when you launch an MPI job. The script is essentially a wrapper for mpiexec, and you would use the script instead of mpiexec in the command line for your job. To specify the node that should host the Rank0 process, you use the Required Nodes task property. The script and details of how to use it are available here:

    MPI Rank0 placement script

     

    • 回答の候補に設定 AliceLaura 2011年5月4日 22:16
    •  
  • 2011年7月18日 19:45
     
     

    I cannot get rankometer to build.  Visual Studio 2010 on Windows HPC Server 2008.  Could someone please provide a complete project for this?

    My other MPI programs build fine.

    I too need to do rank placement.

    Much appreciated.

     

  • 2011年7月20日 16:52
     
     

    I'll start a rankometer VB project through the publishing process.  However, be aware that I wrote rankometer as a test app...just something to echo back the node name for each rank so I could verify the RNmpiexec script was working as I intended.  You don't need rankometer in order to control the placement of rank 0 for your own app. 

    That said, it's very strange your other MPI programs build but not rankometer as it's a very simple app as you can see on the download page...only uses to include files and does a single MPI_Gather.  Do you have more detail on the build error(s)? 

    Sorry for the trouble.

    -Eric


    Eric Lantz (Microsoft)