[MPICH] MPICH2 with MS Vista

Brian Andrus toomuchit at gmail.com
Mon Feb 4 13:34:50 CST 2008


Jayesh,

No luck. I uninstalled MPICH2, ensured the entry for it was not listed 
in the manage computer->services section and rebooted. I ran the 
installer, used the default passphrase and rebooted after it said it was 
successfully installed.
Then I opened a command window and ran:
    "\Program Files\MPICH2\bin\mpiexec.exe" -n 1 dir
It asks for a passphrase and I get an error:
-----------------------------
Please specify an authentication passphrase for smpd:
Unable to connect to 'Brian-PC:8676',
sock error: generic socket failure, error stack:
MPIDU_Sock_post_connect(1228): unable to connect to Brian-PC on port 
8676, exhausted all endpoints (errno -1)
MPIDU_Sock_post_connect(1275): unable to connect to Brian-PC on port 
8676, No connection could be made because the target machine actively 
refused it. (errno 10061)
-----------------------------

I look at the manage computer->services and MPICH2 is not listed. It 
does not install the smpd service successfully, I think. The only way I 
have been able to see it installed is when I open a command window using 
administrator privileges and running:
    "\Program Files\MPICH2\bin\smpd.exe" -install

I tried starting the service:
-----------------------------
C:\Users\Brian>"\Program Files\MPICH2\bin\smpd.exe" -start
OpenSCManager failed:
Access is denied. (error 5)
-----------------------------

So I tried starting it from an admin console:
----------------------------
C:\Windows\system32>"\Program Files\MPICH2\bin\smpd.exe" -start
OpenService failed:
The specified service does not exist as an installed service. (error 1060)
----------------------------


It seems the installer is not installing the service as would be 
expected under Windows Vista Home Ultimate.
At least not on my new Dell XPS 410.

I can force the install using smpd.exe -install, but I am still unable 
to use wmpiexec (I am able to use mpiexec somewhat).

Brian

Jayesh Krishna wrote:
>  Hi,
>   The smpd passphrase is the passphrase that the user specifies during the
> MPICH2 installation process (By default the passphrase is set to "behappy"
> and the user has the option of changing it. The user is prompted for the
> same during the MPICH2 installation).
>   You don't have to run "smpd.exe -install" to get smpd running on your
> system. During a successful installation this is done for you by the
> installer.
>   I would recommend that you re-install MPICH2 on your system (after
> uninstalling the existing version of MPICH2). Please try rebooting your
> system before running mpiexec. Initially try running some simple command
> like "mpiexec -n 1 dir". Then try running "mpiexec -n 2 cpi.exe" (cpi.exe is
> provided with 32-bit version of MPICH2 in <INSTALL-DIR>\MPICH2\examples
> directory)
>
> Regards,
> Jayesh
>
> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Brian Andrus
> Sent: Sunday, February 03, 2008 2:24 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: [MPICH] MPICH2 with MS Vista
>
> I am trying to get MPICH2 working all around with MS Vista. I have installed
> it and I can get a simple hello world to run in the console, but I would
> like to use wmpiexec to run things too. Unfortunately, every time I try to
> run my hello world, I get an error:
>
> Error: No smpd passphrase specified through the registry or .smpd file,
> exiting.
>
>
> When I run wmpiconfig and try to scan hosts, I get:
> Please specify an authentication passphrase for smpd: 1.0.6
>
> I run wmpiregister and use my logged in username/password, which seems 
> to register (wmpiconfig runs this automatically if there is no 
> account/pass in the registry).
>
> I noticed a few things:
> 1) I cannot run the installer as an administrator (the option isn't 
> there when I right click on a .msi file)
> 2) After the install, I needed to open a console administrator and then 
> run "smpd.exe -install" to get the MPICH2 process manager service  
> registered, otherwise it would not show up under the services.
> 3) As a normal user, I can run my hello world from a command windows, if 
> I have added a user/password using wmpiregister. To do so, I have to 
> just hit return when it asks for a passphrase.
> --------------------------snip-------------------------------------
> C:\Users\Brian>"\Program Files\MPICH2\bin\mpiexec.exe" -n 2 
> "\Users\Brian\Documents\Visual Studio 
> 2008\Projects\HelloWorld\Debug\HelloWorld.exe"
> Please specify an authentication passphrase for smpd:
> Hello World from process 0 on Brian-PC
> Number of Processes: 2
> Hello World from process 1 on Brian-PC
> --------------------------snip-------------------------------------
>
> I used MS Visual C++ express 2008 to create my hello world program. I 
> did need to set up a couple paths to get the mpi.h libraries included so 
> it would compile and link, but it seems to be working and generating 
> executable code.
> This is all on a fresh Dell with Vista Home Ultimate installed.
>
> Any ideas what I am missing to get wmpiexec to work?
>
> Thanks in advance,
>
> Brian Andrus
>
>   


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the mpich-discuss mailing list