[mpich-discuss] Hydra binding questions

Pavan Balaji balaji at mcs.anl.gov
Fri Aug 12 18:05:25 CDT 2011


Hi Rohit,

Yes, you are right. This was a bug. I've fixed it in r8897. It's also 
been merged into the 1.4.x branch.

  -- Pavan

On 08/12/2011 04:08 PM, Jain, Rohit wrote:
> Hi Pavan,
>
> I tried the verbose info on a machine while running 9 parallel processes.
> 'rr' always shows processmap for all cores, but 'cores' and 'sockets' showing processmap for only 8 cores. How is it binding to cores for more than 8 processes?
>
> Machine has 16 cores available.
>
> topomap: (MACHINE,(NODE,mem_size:75951734784,(SOCKET,(CORE,(THREAD,pid:0),(THREAD,pid:8)),(CORE,(THREAD,pid:2),(THREAD,pid:10)),(CORE,(THREAD,pid:4),(THREAD,pid:12)),(CORE,(THREAD,pid:6),(THREAD,pid:14))),(SOCKET,(CORE,(THREAD,pid:1),(THREAD,pid:9)),(CORE,(THREAD,pid:3),(THREAD,pid:11)),(CORE,(THREAD,pid:5),(THREAD,pid:13)),(CORE,(THREAD,pid:7),(THREAD,pid:15)))))
>
> cores: processmap: (0;2;4;6;1;3;5;7;;;;;;;;)
> sockets: processmap: (0;1;2;3;4;5;6;7;;;;;;;;)
> rr: processmap: (0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15)
>
> Regards,
> Rohit
>
>
> -----Original Message-----
> From: Pavan Balaji [mailto:balaji at mcs.anl.gov]
> Sent: Wednesday, August 10, 2011 3:35 PM
> To: Jain, Rohit
> Cc: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] Hydra binding questions
>
> Hi Rohit,
>
> On 08/10/2011 02:56 PM, Jain, Rohit wrote:
>> Okay. Let me know when you have it ready and few instructions on how
>> to get it from trunk and use it with 1.4.
>
> The changes have been committed to trunk as of r8871. You can download
> the latest nightly snapshot of Hydra from
> http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/nightly/hydra/
> and build it. It'll give you an mpiexec (and some other utility
> executables), that you can use to run your program. You can still
> compile your application with mpicc and friends from the 1.4
> installation; you just need to use the new mpiexec to run it.
>
> When you pass the -verbose flag, it'll show you both the hardware
> topology (labeled as 'topomap') and the process binding information
> ('processmap'). There might be too much additional information in the
> debug output, so you might want to grep for these flags in the output.
>
>    -- Pavan
>

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list