Hi, Andy,<br> (1) If all the processors are in one computer, you don't need to identify host names.<br> "<span style="color: blue;">mpiexec –n 16 c:\program files\mpich2\examples\cpi.exe"</span><span style="color: rgb(0, 0, 153);"><br>
<span style="color: rgb(0, 0, 0);">(2) If the processors distribute in different computers connected through a network, you need to find the following information for each computer.<br></span></span> Domain Name: <span style="color: rgb(0, 0, 153);">domainname</span> (It is required to find a computer in the network)<br>
Host Name: <span style="color: rgb(0, 0, 153);">hostname</span> (The host name can be used to identify a computer only when all the computers are in the same subnetwork.)<br> IP Address: <span style="color: rgb(0, 0, 153);">1.2.3.4</span><br>
User Name: <span style="color: rgb(0, 0, 153);">username</span> (The user name required to log in the machine)<br> Password: <span style="color: rgb(0, 0, 153);">**********</span> (The corresponding password required to log in the machine)<br>
Then you need to register each “user” in the master node so that a domain name, user
name and password can be automatically retrieved by mpiexec to launch
processes.<br> <span style="color: blue;">"mpiexec –register user 1 domainname\username\</span><span style="color: rgb(0, 0, 153);">**********</span>"<br> After the above steps, you can run <br> <span style="color: blue;">"mpiexe c –hosts 16 domainnameA 1 domainnameB 1 ..... c:\program files\mpich2\examples\cpi.exe</span>"<br>
<br>Vivian<br>-------------------------------------------------------------------------------------------------------------------------------------------------------<br><span style="color: rgb(0, 0, 153);"></span><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Message: 1<br>
Date: Wed, 25 Mar 2009 15:55:45 -0400<br>
From: "Robertson, Andrew" <<a href="mailto:andrew.robertson@atk.com">andrew.robertson@atk.com</a>><br>
Subject: [mpich-discuss] MPICH on Single Machine<br>
To: <<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>><br>
Message-ID:<br>
<<a href="mailto:25F430F61D9E9A459832065C99EA390B03BD4D36@ny10se01.atk.com">25F430F61D9E9A459832065C99EA390B03BD4D36@ny10se01.atk.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Folks<br>
I have a program that does not have any shared memory parallelization.<br>
Thus even though the 16 processors of my quad socket / quad core machine<br>
are on the same motherboard, I need to have mpich2 up and running.<br>
<br>
I need to get the machine a name so it isnt localhost<br>
I start an mpd with no host name or node count<br>
I fire up the job with an mpiexec -n 16<br>
<br>
Or am I missing something here? Do I need an mpdboot that fires up 16<br>
daemons?<br>
<br>
Should I be using gforker?? If so how is that done?<br>
Thanks<br>
- Andy<br>
<br>
<br>
Andrew Robertson P.E.<br>
CFD Analyst<br>
GASL Operations<br>
Tactical Propulsion and Controls<br>
ATK<br>
77 Raynor Avenue<br>
Ronkokoma NY 11779<br>
631-737-6100 Ext 120<br>
Fax: 631-588-7023<br>
<a href="http://www.atk.com" target="_blank">www.atk.com</a><br>
<br>
!! Knowledge and Thoroughness Baby !!<br>
<br>
<br>
</blockquote></div><br>