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?
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)
- 回答としてマーク Don PatteeModerator 2009年12月9日 6:21
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:
- 回答の候補に設定 AliceLaura 2011年5月4日 22:16
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.
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 Lantz (Microsoft)