<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=052363418-17072009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=052363418-17072009> You should find the source code for a sample MPI
program, cpi, in the examples directory of your MPICH2 installation (C
version of cpi - icpi.c, C++ version of cpi - cxxpi.cxx). The directory
should also contain a compiled version of cpi, cpi.exe (mpiexec -n 2
cpi.exe).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=052363418-17072009> Do you still get the error message when you run
your MPI jobs? Are you able to validate the username/password (mpiexec
-validate) after registering it (mpiexec -register)?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=052363418-17072009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=052363418-17072009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=052363418-17072009>Jayesh</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> reza hashemi kahnamoei
[mailto:reza.hashemik@gmail.com] <BR><B>Sent:</B> Friday, July 17, 2009 1:21
PM<BR><B>To:</B> Jayesh Krishna<BR><B>Subject:</B> Re: Please Help Me! - Unable
to register username/password with mpiexec on windows<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi,</DIV>
<DIV> I installed the MPICH2 as a administrator and specified it in
"Everyone".</DIV>
<DIV>Can you send me an mpi c++ program? for example the factoriel
program!</DIV>
<DIV>thank's<BR><BR></DIV>
<DIV class=gmail_quote>On Fri, Jul 17, 2009 at 2:32 AM, Jayesh Krishna <SPAN
dir=ltr><<A
href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<P><FONT size=2>Hi,<BR> Did you install MPICH2 as the administrator ? If
so, did you specify that MPICH2 is to be used by all users (The default is
"Just me", you need to select "Everyone" when installing MPICH2) ? Try
re-installing MPICH2 making sure that you install MPICH2 for all users (Select
"Everyone" when prompted for while installing MPICH2).<BR><BR>(PS: Since the
problem does not appear to be a bug we can discuss your issue in the
mpich-discuss mailing list. If we feel there is a bug in the code we can
re-open the ticket
717.)<BR><BR>Regards,<BR>Jayesh<BR><BR>==========================================================================================<BR><BR>Hi,<BR><BR> EXCUSE
ME! My English Is Very Low Level. EXCUSE ME!<BR><BR>I do this jobs that you
said:<BR><BR># Make sure you have the same user (reza) on both the machines
and that they have the same password (Assuming reza is not a domain
user).<BR># Register your username/password using "-register" option of
mpiexec WITHOUT the "-user" option (mpiexec -register).<BR># Run your MPI jobs
WITHOUT the "-user" option (mpiexec -n 2 cpi.exe)<BR># Use wmpiconfig if
needed.<BR><BR>But it errored me!<BR><BR>Error is it " Credentials for reza
rejected connecting to
PC1<BR>
Aborting: Unable to connect to PC1 "<BR><BR>At first time I want to perform
this statement "mpiexec -n 2 cpi.exe" it errored!<BR>But after I perform this
statement "mpiexec -user 1 -n 2
cpi.exe"<BR>
username:administrator<BR>
password:administrator password.<BR>the cpi is runing!<BR><BR>After Performing
above statement I do this job:<BR><BR>I type this statement : "mpiexec -n 2
cpi.exe"<BR>mpi not errored and running the cpi.exe!</FONT>
</P></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>