Hi,<br>Thanks very much.<br>Regards,<br>Luiz<br><br><div class="gmail_quote">On 29 March 2010 14:07, Jayesh Krishna <span dir="ltr">&lt;<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi,<br>
 MPICH2 does not allow registering username and passwords using command line arguments to mpiexec. You might be able to redirect the stdin/stdout of the mpiexec process to your install program and specify the username/password.<br>


<div class="im"><br>
Regards,<br>
Jayesh<br>
----- Original Message -----<br>
From: &quot;Luiz Carlos da Costa Junior&quot; &lt;<a href="mailto:lcjunior@ufrj.br">lcjunior@ufrj.br</a>&gt;<br>
</div><div><div></div><div class="h5">To: &quot;Jayesh Krishna&quot; &lt;<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>&gt;<br>
Cc: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
Sent: Monday, March 29, 2010 10:39:35 AM GMT -06:00 US/Canada Central<br>
Subject: Re: [mpich-discuss] mpiexec -register on Windows<br>
<br>
Hi Jayesh,<br>
<br>
I would like to configure everything related to MPI during the install process of my parallel software (Windows). In order to do so, I&#39;ve created an application that is called in the install process that performs the following steps:<br>


<br>
1) Creates a local user on Windows for parallel executions of my software, let say, &quot;parallel_user&quot;;<br>
2) Creates a shares for each local disk (C:\, D:\) with access rights just for the &quot;parallel_user&quot;;<br>
3) Register this user in MPI using &quot;mpiexec -register&quot;;<br>
4) Adds the executable of my application to Windows Firewall exceptions.<br>
<br>
My question was specifically about item (3), which will be part of the setup application: is there an way to call &quot;mpiexec -register&quot; passing user and password as arguments, i.e., without prompting for the user to type it?<br>


<br>
My intention (I am still testing) is to do not prompt the user for an user/password neither during the install process nor at the beginning of the executions of my software. Can you see any problem in the scheme above? (any suggestion will be also welcome).<br>


<br>
Regards,<br>
Luiz<br>
<br>
<br>
On 29 March 2010 11:00, Jayesh Krishna &lt; <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> &gt; wrote:<br>
<br>
<br>
Hi,<br>
MPICH2 requires the username and password to launch MPI jobs on behalf of the user. So the job launcher needs to prompt the user for the username and password.<br>
I am not quite sure what you meant by registering the user directly via command line. Can you please explain ?<br>
<br>
Regards,<br>
Jayesh<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: &quot;Luiz Carlos da Costa Junior&quot; &lt; <a href="mailto:lcjunior@ufrj.br">lcjunior@ufrj.br</a> &gt;<br>
To: &quot;MPICH Discuss&quot; &lt; <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a> &gt;<br>
Sent: Friday, March 26, 2010 8:02:45 PM GMT -06:00 US/Canada Central<br>
Subject: [mpich-discuss] mpiexec -register on Windows<br>
<br>
<br>
Hi all,<br>
<br>
<br>
Is there any way to register an user directly via command line, i.e., without prompting to the user for user name and password?<br>
<br>
<br>
Thanks in advance,<br>
Luiz<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a 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>
</div></div></blockquote></div><br>