[mpich-discuss] MPICH associating process with a core

John Xu johnzxu at gmail.com
Tue Mar 2 11:41:23 CST 2010


Thanks, Tan.

Could you elaborate a little more about where the process dumps the
information to?
Unfortunately my simulator does not have good user interface where I
can have secondary
windows to report TOP on it.
Maybe there are some syscal available to print the info out in the
program itself.

john

On Tue, Mar 2, 2010 at 11:17 AM, chong tan <chong_guan_tan at yahoo.com> wrote:
> I was looking for this a while back, and found none.  I created a work
> around for
> myself:
>
> each process dumps its rank and process id at the begining of the run (into
> somewhere),
> and I map those id to the output of 'top' (that show the CPU binding).  you
> can google info on
> enabling CPU info with top.
>
> tan
>
>
> ________________________________
> From: John Xu <johnzxu at gmail.com>
> To: mpich-discuss at mcs.anl.gov
> Sent: Mon, March 1, 2010 11:04:59 PM
> Subject: [mpich-discuss] MPICH associating process with a core
>
> Hi,
>
> Is there a way in the MPI library to report which process is running
> on which core in a SMP system with
> shared memory MPI programming model?
>
> I dug out the library calls and only found out
> MPI_Get_processor_name to be close. But it reports the machine itself
> not the core the process is running
> on.
>
> thanks,
> john
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>


More information about the mpich-discuss mailing list