Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Specifying parameters with heterogenous hardware specs within the cluster

Answered Specifying parameters with heterogenous hardware specs within the cluster

  • Tuesday, 14 December, 2010 5:36 AM
     
     

    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

All Replies

  • Tuesday, 14 December, 2010 11:17 PM
     
     Answered

    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