<DIV>thanks to Jayesh and bob.</DIV>
<DIV> </DIV>
<DIV><includetail>
<DIV> </DIV>
<DIV> </DIV>
<DIV style="COLOR: #000">
<DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial Narrow; FONT-SIZE: 12px; PADDING-TOP: 2px">------------------ 原始邮件 ------------------</DIV>
<DIV style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV id=menu_sender><B>发件人:</B> "bob ilgner"<bobilgner@gmail.com>;</DIV>
<DIV><B>发送时间:</B> 2011年8月5日(星期五) 晚上11:54</DIV>
<DIV><B>收件人:</B> "mpich-discuss"<mpich-discuss@mcs.anl.gov>; <WBR></DIV>
<DIV></DIV>
<DIV><B>主题:</B> Re: [mpich-discuss] questions about cpu assign in windows</DIV></DIV>
<DIV> </DIV>I may be reading this differently, but is he not asking how to<BR>determine how to identify the nodes/cores, and not allocating them?<BR><BR>The following URL will show how to id the CPU, but not allocate the core/CPU.<BR><BR>http://cboard.cprogramming.com/c-programming/104657-how-get-information-cpuid-using-c-code.html<BR><BR><BR>On Fri, Aug 5, 2011 at 5:34 PM, Jayesh Krishna <jayesh@mcs.anl.gov> wrote:<BR>> Hi,<BR>> When your launch your MPI job, the process manager creates the MPI processes and the OS schedules these processes (By default processes are not bound to a core. The OS scheduling policy decides on it).<BR>> You can explicitly specify the binding policy using the "-binding" option of mpiexec on Windows (Refer to Section 9.6 of the Windows developers guide available at http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs for details).<BR>><BR>> Regards,<BR>> Jayesh<BR>><BR>> ----- Original Message -----<BR>> From: "姚远志" <yaoyuanzhi@qq.com><BR>> To: "mpich-discuss" <mpich-discuss@mcs.anl.gov><BR>> Sent: Friday, August 5, 2011 12:03:11 AM<BR>> Subject: [mpich-discuss] questions about cpu assign in windows<BR>><BR>><BR>><BR>> hi<BR>> I am new to MPICH, now I face up with a problem.<BR>> I can't get the info. about which cpu ( or computer, node) does the process excute in when I use mpi.<BR>> I read the material about it , it says "MPI is a clean interface , didn't offer the resource management interface" so can I think it means that ,if I want to know the info as I said before, I need to install another software to gain my ends.<BR>> My operating system is WindowsXP, so I can't use taskset. Can you give me some advices?<BR>> thanks<BR>> Yao<BR>> _______________________________________________<BR>> mpich-discuss mailing list<BR>> mpich-discuss@mcs.anl.gov<BR>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<BR>> _______________________________________________<BR>> mpich-discuss mailing list<BR>> mpich-discuss@mcs.anl.gov<BR>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<BR>><BR>_______________________________________________<BR>mpich-discuss mailing list<BR>mpich-discuss@mcs.anl.gov<BR>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<BR></DIV></includetail></DIV>