[OMPI users] Question on Mapping and Binding

2014-12-22 Thread Saliya Ekanayake
Hi, I've been using --map-by socket:PE=N, where N is used to control the number of cores a proc gets mapped to. Does this also guarantee that a proc is bound to N cores in the socket? I am asking this because I see some threads spawned by the process run outside the given N cores in the socket.

[OMPI users] processes hang with openmpi-dev-602-g82c02b4

2014-12-22 Thread Siegmar Gross
Hi, today I installed openmpi-dev-602-g82c02b4 on my machines (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1 x86_64) with gcc-4.9.2 and the new Solaris Studio 12.4 compilers. All build processes finished without errors, but I have a problem running a very small program. It works

Re: [OMPI users] Question on Mapping and Binding

2014-12-22 Thread Ralph Castain
They will be bound to whatever level you specified - I believe by default we bind to socket when mapping by socket. If you want them bound to core, you might need to add —bind-to core. I can take a look at it - I *thought* we had reset that to bind-to core when PE=N was specified, but maybe

Re: [OMPI users] Question on Mapping and Binding

2014-12-22 Thread Ralph Castain
FWIW: it looks like we are indeed binding to core if PE is set, so if you are seeing something different, then we may have a bug somewhere. If you add —report-bindings to your cmd line, you should see where we bound the procs - does that look correct? > On Dec 22, 2014, at 9:49 AM, Ralph

Re: [OMPI users] best function to send data

2014-12-22 Thread Brock Palen
Diego, That is what you want. This isn't really the list for these sorts of questions, I would recommend doing an MPI tutorial or getting one of the many books. The self paced class at CI Tutor at NCSA is my favorite. You should learn what you need to get started from this tutorial:

Re: [OMPI users] Question on Mapping and Binding

2014-12-22 Thread Saliya Ekanayake
Hi Ralph, Yes the report bindings show the correct binding as expected for the processes. The doubt I am having is, say I spawn a thread within my process. If I don't specify affinity for it, is it possible for it to get scheduled to run in a core outside that of the process? Second question is,

Re: [OMPI users] Question on Mapping and Binding

2014-12-22 Thread Ralph Castain
> On Dec 22, 2014, at 10:45 AM, Saliya Ekanayake wrote: > > Hi Ralph, > > Yes the report bindings show the correct binding as expected for the > processes. The doubt I am having is, say I spawn a thread within my process. > If I don't specify affinity for it, is it

Re: [OMPI users] Question on Mapping and Binding

2014-12-22 Thread Saliya Ekanayake
Thank you and one last question. Is it possible to avoid a core and instruct OMPI to use only the other cores? On Mon, Dec 22, 2014 at 2:08 PM, Ralph Castain wrote: > > On Dec 22, 2014, at 10:45 AM, Saliya Ekanayake wrote: > > Hi Ralph, > > Yes the report

Re: [OMPI users] Question on Mapping and Binding

2014-12-22 Thread Ralph Castain
Sure: $ ompi_info --param hwloc all -l 9 ….. MCA hwloc: parameter "hwloc_base_cpu_set" (current value: "", data source: default, level: 9 dev/all, type: string) Comma-separated list of ranges specifying