none
Forcing Rank 0 to a particular cluster node RRS feed

  • Question

  • 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?

     

    Monday, September 28, 2009 11:57 AM

Answers

  • 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

    Monday, October 12, 2009 4:19 PM

All replies

  • 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

    Monday, October 12, 2009 4:19 PM
  • 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

     

    • Proposed as answer by AliceLaura Wednesday, May 4, 2011 10:16 PM
    Wednesday, May 4, 2011 10:16 PM
  • 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.

     

    Monday, July 18, 2011 7:45 PM
  • 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)
    Wednesday, July 20, 2011 4:52 PM