[mpich-discuss] mpiexec -register on Windows

Jayesh Krishna jayesh at mcs.anl.gov
Mon Mar 29 12:07:50 CDT 2010


Hi,
 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.

Regards,
Jayesh
----- Original Message -----
From: "Luiz Carlos da Costa Junior" <lcjunior at ufrj.br>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Cc: mpich-discuss at mcs.anl.gov
Sent: Monday, March 29, 2010 10:39:35 AM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] mpiexec -register on Windows

Hi Jayesh, 

I would like to configure everything related to MPI during the install process of my parallel software (Windows). In order to do so, I've created an application that is called in the install process that performs the following steps: 

1) Creates a local user on Windows for parallel executions of my software, let say, "parallel_user"; 
2) Creates a shares for each local disk (C:\, D:\) with access rights just for the "parallel_user"; 
3) Register this user in MPI using "mpiexec -register"; 
4) Adds the executable of my application to Windows Firewall exceptions. 

My question was specifically about item (3), which will be part of the setup application: is there an way to call "mpiexec -register" passing user and password as arguments, i.e., without prompting for the user to type it? 

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). 

Regards, 
Luiz 


On 29 March 2010 11:00, Jayesh Krishna < jayesh at mcs.anl.gov > wrote: 


Hi, 
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. 
I am not quite sure what you meant by registering the user directly via command line. Can you please explain ? 

Regards, 
Jayesh 



----- Original Message ----- 
From: "Luiz Carlos da Costa Junior" < lcjunior at ufrj.br > 
To: "MPICH Discuss" < mpich-discuss at mcs.anl.gov > 
Sent: Friday, March 26, 2010 8:02:45 PM GMT -06:00 US/Canada Central 
Subject: [mpich-discuss] mpiexec -register on Windows 


Hi all, 


Is there any way to register an user directly via command line, i.e., without prompting to the user for user name and password? 


Thanks in advance, 
Luiz 
_______________________________________________ 
mpich-discuss mailing list 
mpich-discuss at mcs.anl.gov 
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss 



More information about the mpich-discuss mailing list