Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI devel] Assigned cpu list
From: Ralph Castain (rhc_at_[hidden])
Date: 2013-12-14 12:20:46

I forget who asked about this at the OMPI developer's conference this week, but I misspoke the answer. The question was if the user could specify (via an MCA parameter) which cores were to be used by mpirun for an application, and then let the mapper assign the procs to those cores in a round-robin fashion. The answer is (of course) "yes".

All you have to do is specify "mpirun --cpu-list 0,2,4" to tell us to use the 0, 2, and 4 logical cpus for this application. In the absence of any other directives, we will map the procs round-robin (one per core) to the cores in that list on each node, binding as directed.

This is different from --slot-list 0,2,4 as that would tell us to bind each process to the 0,2,4 logical cpus (i.e., bind the proc to all three of those cores)

HTH - and sorry for the misspeak.