none
Specifying parameters with heterogenous hardware specs within the cluster RRS feed

  • Question

  • Hi,

    Im glad I found this group. I have a tiny homemade cluster. Some of the machines are Dual core and some single core. How would I specify number of processes as well as number of cores (for hosts that have more than one core) in the same mpiexec command line?

    Thanks.

    Saurabh

    Tuesday, December 14, 2010 5:36 AM

Answers

  • Hello Saurabh,

    You can run your mpi app with the following command line, suppose machine 1 is dual core and machine 2 is single core:

    mpiexec -hosts 2 [machine 1 hostname or IP address] 2 [machine 2 hostname or IP address] 1 [your mpi app]

    Thanks,

    James

    Tuesday, December 14, 2010 11:17 PM