So if bind-to-core is in effect, does that mean it'll run only on 1 core even though I'd like it to be able to utilize 4 cores. For examples, I'll be creating 4 threads within the process and would like to pin them to each core the process has been bound to.
On Thu, May 19, 2016 at 3:46 PM, Ralph Castain <r...@open-mpi.org> wrote: > Perhaps we should error out, but at the moment, PE=4 forces bind-to-core > and so the bind-to socket is being ignored > > On May 19, 2016, at 12:06 PM, Saliya Ekanayake <esal...@gmail.com> wrote: > > Hi, > > I understand --map-by will determine the process placement whereas > --bind-to will keep the processes pinned to the given resource. If this > understanding is correct, then I've got a doubt with the following. > > On a node with 2 sockets and 12 cores each, > > --map-by ppr:3:socket,PE=4 --bind-to socket > > My understanding is that this will give each process 4 cores. Now, with > bind to socket, does that mean it's possible that within a socket the > assgined 4 cores for a process may change? Or will they stay in the same 4 > cores always? > > Thank you, > Saliya > > -- > Saliya Ekanayake > Ph.D. Candidate | Research Assistant > School of Informatics and Computing | Digital Science Center > Indiana University, Bloomington > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2016/05/29243.php > > > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2016/05/29244.php > -- Saliya Ekanayake Ph.D. Candidate | Research Assistant School of Informatics and Computing | Digital Science Center Indiana University, Bloomington