[MPICH] Binding and instance of the MPI program to a particular processor

Christina Patrick christina.subscribes at gmail.com
Thu Jun 21 09:53:37 CDT 2007


Is it possible for me to modify the Python script (mpiexec) in such a way
that I use the pbind command to bind each instance of the executing program
to a different processor? I would like to give that a shot.

Warm Regards,
Christina.


On 6/20/07, Rajeev Thakur <thakur at mcs.anl.gov> wrote:
>
> MPICH2 leaves the scheduling of processes to the OS. If the OS has some
> way
> to bind processes to processors, you could try using it.
>
> Rajeev
>
> > -----Original Message-----
> > From: owner-mpich-discuss at mcs.anl.gov
> > [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of
> > Christina Patrick
> > Sent: Wednesday, June 20, 2007 4:12 PM
> > To: mpich-discuss-digest at mcs.anl.gov
> > Subject: [MPICH] Binding and instance of the MPI program to a
> > particular processor
> >
> > Hi everybody,
> >
> > I am having a 8 processor Solaris 9 machine and I want to
> > execute an MPI program on it. The problem is that the tasks
> > created by mpiexec keep migrating on the different
> > processors. Since it is only one machine, there is only one
> > instance of the mpdboot daemon running on the machine. Hence
> > when I execute the below command on the machine with 8
> > processors, I get an output that says:
> >
> > (For example, if the MPI program name is "finalized")
> > # mpiexec -n 8 ./finalized
> > 0:  No Errors
> >
> > When I examined the system using the "prstat" command, I
> > observed that the tasks are migrating between the different
> > processors.
> >
> > Is there any why in which I could bind each instance of the
> > MPI program to a different processor.
> >
> > Your suggesstions and help is appreciated,
> >
> > Thanks,
> > Christina.
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070621/ddd19871/attachment.htm>


More information about the mpich-discuss mailing list