[MPICH] Binding and instance of the MPI program to a particular processor
Rajeev Thakur
thakur at mcs.anl.gov
Wed Jun 20 16:47:37 CDT 2007
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.
>
More information about the mpich-discuss
mailing list