[mpich-discuss] MPICH associating process with a core
chong tan
chong_guan_tan at yahoo.com
Tue Mar 2 11:17:08 CST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100302/6ae79c51/attachment.htm>
More information about the mpich-discuss
mailing list