<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>John,<br>what kind of simulator are you working on ?<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> Tue, March 2, 2010 9:41:23 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] MPICH associating process with a core<br></font><br>
Thanks, Tan.<br><br>Could you elaborate a little more about where the process dumps the<br>information to?<br>Unfortunately my simulator does not have good user interface where I<br>can have secondary<br>windows to report TOP on it.<br>Maybe there are some syscal available to print the info out in the<br>program itself.<br><br>john<br><br>On Tue, Mar 2, 2010 at 11:17 AM, chong tan <<a ymailto="mailto:chong_guan_tan@yahoo.com" href="mailto:chong_guan_tan@yahoo.com">chong_guan_tan@yahoo.com</a>> wrote:<br>> I was looking for this a while back, and found none. I created a work<br>> around for<br>> myself:<br>><br>> each process dumps its rank and process id at the begining of the run (into<br>> somewhere),<br>> and I map those id to the output of 'top' (that show the CPU binding). you<br>> can google info on<br>> enabling CPU info with top.<br>><br>> tan<br>><br>><br>>
________________________________<br>> From: John Xu <<a ymailto="mailto:johnzxu@gmail.com" href="mailto:johnzxu@gmail.com">johnzxu@gmail.com</a>><br>> To: <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> Sent: Mon, March 1, 2010 11:04:59 PM<br>> Subject: [mpich-discuss] MPICH associating process with a core<br>><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>><br>><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>><br>><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>