[mpich-discuss] smpd on windows 7

Jayesh Krishna jayesh at mcs.anl.gov
Mon Jan 4 11:31:51 CST 2010


Hi,
 It looks like the MPICH2 installation was not successful.

>> This time I uninstalled (which said it was successful) and then installed the MPICH2, using msiexec from the command line as you suggested...

 Did you install MPICH2 from a command prompt with admin privileges (Opening a command prompt from an admin account does not provide the command prompt with admin privileges) ? 
 Did you get any error messages during the install ?

Regards,
Jayesh
----- Original Message -----
From: "Sherry Frese" <Sherry.Frese at Numerex-LLC.com>
To: jayesh at mcs.anl.gov
Sent: Monday, January 4, 2010 11:18:03 AM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] smpd on windows 7

Hi,

1.  The MPICH2 process manager does NOT show up in the list of services.

2.  When I run mpiexec -n 2 hostname

It requests the smpd passphrase (which I provide) then, after ~5 sec. it says

Unable to connect to 'dagger:8676'
sock error: generic socket error. error stack:
MPIDU_sock_post_connect (1288): unable to connect to dagger on port 
8676, exhausted all endpoints (errorno -1)
MPIDU_sock_post_connect (1275): unable to connect to dagger on port 
8676, No connection could be made because the target machine actively 
refused it (errono10061)

I get the same message even if I turn off the firewall.

--Sherry

At 09:36 AM 1/4/2010, you wrote:
>Hi,
>  Can you see MPICH2 process manager in the list of services (Look 
> at Control Panel\System and Security\Administrative 
> Tools\Services)? Also check the status of the service (Is it started ?)?
>  You don't have to supply the "-localonly" flag to run MPI 
> processes on the local machine. MPICH2 by default launches the 
> processes on the local machine ("mpiexec -n 1 m2" should launch m2 
> on the local machine).
>  Can you run a simple non-MPI program (mpiexec -n 2 hostname)?
>
>Regards,
>Jayesh
>----- Original Message -----
>From: "Sherry Frese" <Sherry.Frese at Numerex-LLC.com>
>To: mpich-discuss at mcs.anl.gov
>Sent: Monday, January 4, 2010 10:16:45 AM GMT -06:00 US/Canada Central
>Subject: Re: [mpich-discuss] smpd on windows 7
>
>Jayesh,
>
>Thanks for the response, but it still does not work.
>
>Previously I had just been executing the .msi file from my admin
>account.  This time I uninstalled (which said it was successful) and
>then installed the MPICH2, using msiexec from the command line as you
>suggested.  The GUI came up,  and all seemed fine (I kept the default
>smpd password and installed for all users).  And indeed, as before I
>have all  the MPICH2 directories and files in my Program File (x86)
>directory.  However the smpd service is not being installed.
>
>I've checked on the Task manager - it's not there.
>I tried    sc \\hostname query smpd      and it  now says
>
>[SC] EnumQueryServicesStatus: OpenService FAILED  1060:
>The specified service does not exist as an installed service.
>
>My parallel executable is called m2.  When I try
>
>    mpiexec  -n 1 -localonly  m2
>
>I get a request for the smpd passphrase , which I supply.
>
>mpiexec (I assume) then comes back with
>
>Unknown option : -d
>missing numproc flag: -n , -np, -hosts,  or -localonly
>Unable to parse mipexec command arguments
>ReadFile() Failed, error 109
>unable to start the local smpd manager
>
>I get the same response if I try    mpiexec  -n 2
>-localonly  m2    or     mpiexec  -localonly 1 m2 .
>
>
>I'm pretty sure that the problem is that the smpd service is not
>being installed.
>
>One additional  piece of info.  This is a 64 bit machine, and the m2
>I am running is a 32 bit version.  But it runs fine in serial on this machine.
>
>Thanks for you  help,
>Sherry
>
>
>
>At 08:09 AM 1/4/2010, you wrote:
> >Hi,
> >  Open a command prompt with administrator privileges (Right-click
> > on command prompt icon and select "Run as administrator") and use
> > the windows installer from command line to install MPICH2.
> >  To uninstall MPICH2 (It is recommended that you uninstall MPICH2
> > before installing a new version) run the following at the command
> > prompt (with admin privileges),
> >
> >    msiexec /x mpich2-1.2.1-win-ia32.msi
> >
> >  To install MPICH2 run the following at the command prompt (with
> > admin privileges),
> >
> >    msiexec /i mpich2-1.2.1-win-ia32.msi
> >
> >  Let us know if you still have problems.
> >
> >(PS: Running msiexec at the command prompt should bring up the GUI
> >for installing MPICH2.)
> >
> >Regards,
> >Jayesh
> >
> >----- Original Message -----
> >From: "Sherry Frese" <Sherry.Frese at Numerex-LLC.com>
> >To: mpich-discuss at mcs.anl.gov
> >Sent: Monday, December 28, 2009 9:54:42 AM GMT -06:00 US/Canada Central
> >Subject: [mpich-discuss] smpd on windows 7
> >
> >I have been using MPICH2 on Windows XP (as well as under linux) for
> >over 2 years.
> >
> >I am now moving to Windows 7 on a new PC.  I have downloaded and
> >installed the most recent MPICH2 for Windows and the install appears
> >to have been OK.  However, the smpd refuses to install as a
> >service.  smpd never shows up in the Task Manager's list of
> >services.  I have run 'sc //hostname query smpd', and it says the
> >'specified service does not exist as an installed service'.
> >
> >I have redone the full install several times, under 2 different admin
> >accounts (one of them named 'administator').  I have tried the
> >explicit smpd -install as well (varying accounts, directory
> >locations. etc.), and routinely receive the message:
> >
> >OpenSCManager Failed:
> >Access is denied. (error 5)
> >Unable to remove  the previous installation, install failed.
> >
> >If I try smpd -uninstall, I get the same OpenSCManager Failed... message.
> >
> >Any advice would be greatly appreciated
> >
> >
> >----------------------------
> >Sherry Frese
> >
> >_______________________________________________
> >mpich-discuss mailing list
> >mpich-discuss at mcs.anl.gov
> >https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >_______________________________________________
> >mpich-discuss mailing list
> >mpich-discuss at mcs.anl.gov
> >https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>----------------------------
>Sherry Frese
>NumerEx
>505-828-9050
>NOTE NEW EMAIL ADDRESS - Sherry.Frese at NumerEx-LLC.com
>
>_______________________________________________
>mpich-discuss mailing list
>mpich-discuss at mcs.anl.gov
>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

----------------------------
Sherry Frese
NumerEx
505-828-9050
NOTE NEW EMAIL ADDRESS - Sherry.Frese at NumerEx-LLC.com



More information about the mpich-discuss mailing list