[mpich-discuss] MPICH2 Support On Windows HPC Server 2008

Jayesh Krishna jayesh at mcs.anl.gov
Thu Jun 4 16:26:58 CDT 2009


Sorry for taking longer than I expected...
The error code for GetGCSearch() does not mean "ERROR_INVALID_FUNCTION" as
I prev thought - just that retrieving IDirectorySearch pointer for the
global catalog failed. I am currently building a debug version of
smpd/mpiexec which might help us understand the problem better. I will get
back to you on how you can download/install the debug module once I am
done with it. I will also create a ticket so that we can track this
problem better.
The error is most likely with the newer model since I don't get the error
at our lab (we have DC on a win2k server).
 
Regards,
Jayesh

  _____  

From: Larry Adams [mailto:ladams at platform.com] 
Sent: Thursday, May 21, 2009 4:54 PM
To: jayesh at mcs.anl.gov
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008



Its likely around security model.  If you look at how delegation works, on
a per host basis, it has changed dramatically.

The constraining of services used to be available through the registry and
the available authentication types I don't believe existed.

That's why my guess is authentication.  However, the function binds and
then searches, which is working, but only by name.

Looks like your on it though.

Larry

-----Original Message-----
From: Jayesh Krishna <jayesh at mcs.anl.gov>
To: Larry Adams
CC: mpich-discuss at mcs.anl.gov <mpich-discuss at mcs.anl.gov>
Sent: Thu May 21 17:45:41 2009
Subject: RE: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008

Hi,
  DsMakeSpn() is called with a NULL ServiceName and according to the MSDN
docs the ServiceName should be non-NULL (As you mentioned in your prev
email this could be something that has changed over time).
 GetGCSearch() fails with error "ERROR_INVALID_FUNCTION"... Interesting...

Regards,
Jayesh

  _____ 

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Jayesh Krishna
Sent: Wednesday, May 20, 2009 10:55 AM
To: 'Larry Adams'
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008



 Hi,
  Thanks for your input. I will look into this and get back to you today.

Regards,
Jayesh

-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Larry Adams
Sent: Wednesday, May 20, 2009 7:12 AM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008

Jayesh,

Sorry for the delay.  Register spn works fine and nothing works relative
to delegation in 2008 HPC.  From the service principal perspective, we are
able to see the service principal registered in Active Directory just fine
after running the command.

Please keep in mind that AD in 2008 has changed quite a bit relative to
service principals.  There are now several additional options, and my
guess is that the API has changed as well.

If you take a close look at the error messages from your code, you will
see the following:

GetGC failed 0x1

DsMakeSpn(mpich2_smpd, central2.itlab.platform.com, 8676) failed: The
parameter is incorrect.

So, we need to understand what GetGC is and why it failed, and then
cascading to the DsMakeSpn.

Regards,

Larry Adams
Senior Systems Engineer
Platform Computing
Tele: (586) 510-0007
Cell: (586) 899-1138
Skype: TheWitness

------------------------------

Message: 5
Date: Tue, 5 May 2009 16:23:11 -0500 (CDT)
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Subject: Re: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008
To: "'Larry Adams'" <ladams at platform.com>
Cc: mpich-discuss at mcs.anl.gov
Message-ID: <02E9E54406CC4B4294228AF178AF7150 at mcs.anl.gov>
Content-Type: text/plain; charset="us-ascii"

Hi,
 Can you run hostname without specifying "-hosts" (mpiexec -delegate -n
1
hostname) ? Also make sure that you are running mpiexec using delegation
from a node with SMPD Service registered (Run "mpiexec -delegate -n 1
hostname" from a node where you executed "smpd -register_spn").
 Did you get any errors when registering SMPD Service Principal Name (smpd
-register_spn)? Try removing the principal name and registering it again
to verify (smpd -remove_spn ; smpd -register_spn).

Regards,
Jayesh


  _____

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Larry Adams
Sent: Tuesday, May 05, 2009 2:18 PM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008

All,

I have attempted to get MPICH2 1.08 and 1.1 to work on Windows and receive
the following error when performing the following command:

C:\Program Files\MPICH2\bin>mpiexec -delegate -hosts 1
central2.itlab.platform.com hostname

GetGC failed 0x1

DsMakeSpn(mpich2_smpd, central2.itlab.platform.com, 8676) failed: The
parameter is incorrect.

unable to lookup the smpd Service Principal Name.
unable to initialize an sspi context command.

mpiexec aborting job...

C:\Program Files\MPICH2\bin>

I am absolutely certain that I installed smpd using the following command,
and it was successful.

smpd -register_spn

Any help would be appreciated.

Regards,

Larry Adams
Senior Systems Engineer
Platform Computing
Tele: (586) 510-0007
Cell: (586) 899-1138
Skype: TheWitness

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090505/6
bd2fa67/attachment-0001.htm>

------------------------------

Message: 6
Date: Tue, 5 May 2009 18:09:37 -0400
From: "Larry Adams" <ladams at platform.com>
Subject: Re: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008
To: <jayesh at mcs.anl.gov>
Cc: mpich-discuss at mcs.anl.gov
Message-ID:
      
<E2AC825D4FC7764DA86D9C8ECA27A2DE0238D3CC at catoexm05.noam.corp.platform.c
om>
      
Content-Type: text/plain; charset="utf-8"

I have tried all these.  It appears to be related to the win2008 domain
controller.  Has it been tested in this config?

Larry
--------------------------
Sent using BlackBerry


-----Original Message-----
From: Jayesh Krishna <jayesh at mcs.anl.gov>
To: Larry Adams
CC: mpich-discuss at mcs.anl.gov <mpich-discuss at mcs.anl.gov>
Sent: Tue May 05 17:23:11 2009
Subject: RE: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008

Hi,
 Can you run hostname without specifying "-hosts" (mpiexec -delegate -n
1 hostname) ? Also make sure that you are running mpiexec using delegation
from a node with SMPD Service registered (Run "mpiexec -delegate -n 1
hostname" from a node where you executed "smpd -register_spn").
 Did you get any errors when registering SMPD Service Principal Name (smpd
-register_spn)? Try removing the principal name and registering it again
to verify (smpd -remove_spn ; smpd -register_spn).

Regards,
Jayesh


  _____

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Larry Adams
Sent: Tuesday, May 05, 2009 2:18 PM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] MPICH2 Support On Windows HPC Server 2008

All,

I have attempted to get MPICH2 1.08 and 1.1 to work on Windows and receive
the following error when performing the following command:

C:\Program Files\MPICH2\bin>mpiexec -delegate -hosts 1
central2.itlab.platform.com hostname

GetGC failed 0x1

DsMakeSpn(mpich2_smpd, central2.itlab.platform.com, 8676) failed: The
parameter is incorrect.

unable to lookup the smpd Service Principal Name.
unable to initialize an sspi context command.

mpiexec aborting job...

C:\Program Files\MPICH2\bin>

I am absolutely certain that I installed smpd using the following command,
and it was successful.

smpd ?register_spn

Any help would be appreciated.

Regards,

Larry Adams
Senior Systems Engineer
Platform Computing
Tele: (586) 510-0007
Cell: (586) 899-1138
Skype: TheWitness





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090604/2efea6f7/attachment.htm>


More information about the mpich-discuss mailing list