[mpich-discuss] Latency tests on different sockets and different nodes

Pavan Balaji balaji at mcs.anl.gov
Wed Jul 18 08:35:09 CDT 2012

Can you upgrade to the latest version of MPICH2?  In 1.2.1p1, the 
default mpiexec was still mpd, which is not supported anymore.

The usage of mpiexec is listed here:


If you don't want to upgrade the mpich2 version, you can just download 
the latest version of hydra (mpiexec) and use it with mpich2-1.2.1p1.

  -- Pavan

On 07/18/2012 08:10 AM, BAKER, MYLES D. (LARC-E302) wrote:
> Is there a way to specify which sockets and which nodes I want to run
> processes on?
> I have a small test file to measure latency when using message passing.
> My hostfile is setup like this:
> interactive_node:4
> slave_node1:4
> slave_node2:4
> slave_node3:4
> slave_node4:4
> If I want to instantiate two processes to run this latency testing
> program on, how can I use mpiexec to do this?
>  > mpiexec -l -np 2 -l latency
> Seems to randomly choose between available nodes. If I can use the -host
> option, but it doesn't allow me to specify specific cores. Do I need to
> change the machine/host file, or is there an additional command to help
> with this? I am using 1.2.1p1 mpiexec.
> Thanks,
> Myles
> *-----------------------------------------------------
> *Mail Stop 420, B1250 R177
> myles.d.baker at nasa.gov <mailto:myles.d.baker at nasa.gov>
> LaRC Ext:  x46393
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

Pavan Balaji

More information about the mpich-discuss mailing list