Forcing Rank 0 to a particular cluster node
-
lundi 28 septembre 2009 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?
Toutes les réponses
-
lundi 12 octobre 2009 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- Marqué comme réponse Don PatteeModerator mercredi 9 décembre 2009 06:21
-
mercredi 4 mai 2011 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:
- Proposé comme réponse AliceLaura mercredi 4 mai 2011 22:16
-
lundi 18 juillet 2011 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.
-
mercredi 20 juillet 2011 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)