Thank you, I'll try this. Also, is there a way to know which core a process is bound to within the program other than executing something like taskset <PID> from program?
On Sun, Sep 13, 2015 at 10:05 AM, Ralph Castain <r...@open-mpi.org> wrote: > Actually, the error was correct - it was me that was incorrect. The > correct set of options would be: > > —map-by ppr:12_node —bind-to core —cpu-set=0,2,4,… > > Sorry about the confusion > > > On Sep 13, 2015, at 2:43 AM, Ralph Castain <r...@open-mpi.org> wrote: > > The rankfile will certainly do it, but that error is a bug and I’ll have > to fix it. > > > On Sep 13, 2015, at 1:10 AM, Saliya Ekanayake <esal...@gmail.com> wrote: > > I could get it working by manually generating a rankfile all the ranks and > not using any --map-by options. > > I'll try the --map-by core as well > > On Sun, Sep 13, 2015 at 3:59 AM, Tobias Kloeffel <tobias.kloef...@fau.de> > wrote: > >> Hi, >> use: --map-by core >> >> regards, >> Tobias >> >> >> On 09/13/2015 09:41 AM, Saliya Ekanayake wrote: >> >> I tried, >> >> --map-by ppr:12:node --slot-list 0,2,4,6,8,10,12,14,16,18,20,22 >> --bind-to core -np 12 >> >> but it complains, >> >> "Conflicting directives for binding policy are causing the policy >> to be redefined: >> >> New policy: socket >> Prior policy: CORE >> >> Please check that only one policy is defined. >> " >> >> On Sun, Sep 13, 2015 at 2:57 AM, Ralph Castain <r...@open-mpi.org> wrote: >> >>> Try something like this instead: >>> >>> —map-by ppr:12:node —bind-to core —slot-list=0,2,4,6,8,… >>> >>> You’ll have to play a bit with the core numbers in the slot-list to get >>> the numbering right as I don’t know how your machine numbers them, and I >>> can’t guarantee it will work - but it’s worth a shot. If it doesn’t, then I >>> may have to add an option for such purposes >>> >>> Ralph >>> >>> On Sep 12, 2015, at 7:39 PM, Saliya Ekanayake <esal...@gmail.com> wrote: >>> >>> Hi, >>> >>> We've a machine as in the following picture. I'd like to run 12 MPI >>> procs per node each bound to 1 core, but like shown in blue dots in the >>> pictures. I can use the following command to run 12 procs per node, but >>> PE=1 makes all the 12 processes will run in just 1 socket. PE=2 will make a >>> process bind to 2 cores, which is not what I want. >>> >>> --map-by ppr:12:node:PE=1,SPAN >>> >>> Thank you, >>> Saliya >>> >>> <image.png> >>> >>> -- >>> Saliya Ekanayake >>> Ph.D. Candidate | Research Assistant >>> School of Informatics and Computing | Digital Science Center >>> Indiana University, Bloomington >>> Cell 812-391-4914 >>> <http://saliya.org/>http://saliya.org >>> _______________________________________________ >>> users mailing list >>> us...@open-mpi.org >>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >>> Link to this post: >>> http://www.open-mpi.org/community/lists/users/2015/09/27558.php >>> >>> >>> >>> _______________________________________________ >>> users mailing list >>> us...@open-mpi.org >>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >>> Link to this post: >>> http://www.open-mpi.org/community/lists/users/2015/09/27559.php >>> >> >> >> >> -- >> Saliya Ekanayake >> Ph.D. Candidate | Research Assistant >> School of Informatics and Computing | Digital Science Center >> Indiana University, Bloomington >> Cell 812-391-4914 >> http://saliya.org >> >> >> _______________________________________________ >> users mailing listus...@open-mpi.org >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >> >> Link to this post: >> http://www.open-mpi.org/community/lists/users/2015/09/27560.php >> >> >> -- >> M.Sc. Tobias Klöffel >> ======================================================= >> Interdisciplinary Center for Molecular Materials (ICMM) >> and Computer-Chemistry-Center (CCC) >> Department Chemie und Pharmazie >> Friedrich-Alexander-Universität Erlangen-Nürnberg >> Nägelsbachstr. 25 >> D-91052 Erlangen, Germany >> >> Room: 2.307 >> Phone: +49 (0) 9131 / 85 - 20421 >> Fax: +49 (0) 9131 / 85 - 26565 >> >> ======================================================= >> >> >> E-mail: tobias.kloef...@fau.de >> >> >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >> Link to this post: >> http://www.open-mpi.org/community/lists/users/2015/09/27561.php >> > > > > -- > Saliya Ekanayake > Ph.D. Candidate | Research Assistant > School of Informatics and Computing | Digital Science Center > Indiana University, Bloomington > Cell 812-391-4914 > http://saliya.org > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2015/09/27562.php > > > > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2015/09/27564.php > -- Saliya Ekanayake Ph.D. Candidate | Research Assistant School of Informatics and Computing | Digital Science Center Indiana University, Bloomington Cell 812-391-4914 http://saliya.org