<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>I was looking for this a while back, and found none. I created a work around for<br>myself:<br><br>each process dumps its rank and process id at the begining of the run (into somewhere),<br>and I map those id to the output of 'top' (that show the CPU binding). you can google info on <br>enabling CPU info with top.<br><br>tan<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> John Xu <johnzxu@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> mpich-discuss@mcs.anl.gov<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, March 1, 2010 11:04:59
PM<br><b><span style="font-weight: bold;">Subject:</span></b> [mpich-discuss] MPICH associating process with a core<br></font><br>
Hi,<br><br>Is there a way in the MPI library to report which process is running<br>on which core in a SMP system with<br>shared memory MPI programming model?<br><br>I dug out the library calls and only found out<br>MPI_Get_processor_name to be close. But it reports the machine itself<br>not the core the process is running<br>on.<br><br>thanks,<br>john<br>_______________________________________________<br>mpich-discuss mailing list<br><a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br></div></div>
</div><br>
</body></html>