[mpich-discuss] SMPD passphrase?

Jose Pascual-Gutierrez Jose.Pascual-Gutierr at 1-act.com
Tue Jun 7 13:32:44 CDT 2011


I actually open a Cygwin terminal and do all my work in the emulated Linux environment. Would that make things different? Thank you, Sreenivas.


-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of vvvnew at umich.edu
Sent: Tuesday, June 07, 2011 2:26 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] SMPD passphrase?


Iam not sure. What i would try first is log in to dos prompt as admin and type smpd - install. This would reboot smpd in windows service mode. Try this and see if you get a similar error message.

Sreenivas

On Tue, 7 Jun 2011 14:18:50 -0400, "Jose Pascual-Gutierrez"
<Jose.Pascual-Gutierr at 1-act.com> wrote:
> Thank you very much for your message. Would you happen to know where 
> is
the
> source of the error I get? Thank you very much.
> 
> -----Original Message-----
> From: mpich-discuss-bounces at mcs.anl.gov 
> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of 
> vvvnew at umich.edu
> Sent: Tuesday, June 07, 2011 2:04 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] SMPD passphrase?
> 
> 
> I  have used the windows version and as far as i remember, i didnt 
> need
to
> use a paraphrase. I used mpiexec - register, typed in my machine
user/pass
> and then mpiexec -validate to see if my password was successfully 
> registered.
> 
> Sreenivas
> 
> On Tue, 7 Jun 2011 12:15:47 -0400, "Jose Pascual-Gutierrez"
> <Jose.Pascual-Gutierr at 1-act.com> wrote:
>> Before launching a smpd job, one needs to get smpd running on a node 
>> with the command "smpd -s". This propmts the user to create a ~/.smpd 
>> configuration file and passphrase if it did not exist already.
>> 
>> I then tried to run the cpi example with the following result:
>> 
>> $ mpiexec -n 1 ./cpi.exe
>> Process 0 of 1 is on IT-00089
>> pi is approximately 3.1415926544231341, Error is 0.0000000008333410 
>> wall clock time = 0.000000 os_error = 104 (Connection reset by peer) 
>> SMPDU_Sock_wait failed, sock error: Error = -1
>> 
>> state machine failed.
>> 
>> The same error would happen when launching two processes:
>> 
>> $ mpiexec -n 2 ./cpi.exe
>> Process 0 of 1 is on IT-00089
>> Process 0 of 1 is on IT-00089
>> pi is approximately 3.1415926544231341, Error is 0.0000000008333410 
>> wall clock time = 0.000000 os_error = 104 (Connection reset by peer) 
>> SMPDU_Sock_wait failed, sock error: Error = -1
>> 
>> state machine failed.
>> 
>> Thank you very much for your help,
>> José
>> 
>> Jose.Pascual-Gutierr at IT-00089 ~/MPICH2/mpich2-1.3.2p1/examples
>> 
>> -----Original Message-----
>> From: mpich-discuss-bounces at mcs.anl.gov 
>> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Dave Goodell
>> Sent: Tuesday, June 07, 2011 9:33 AM
>> To: mpich-discuss at mcs.anl.gov
>> Subject: Re: [mpich-discuss] SMPD passphrase?
>> 
>> I think you need to configure a passphrase somehow.  I don't use 
>> windows
> so
>> I have no specific idea how to do it.  I suspect, however, that the 
>> installer's guide on the mpich2 website contains this information 
>> somewhere.
>> 
>> -Dave
>> 
>> On Jun 7, 2011, at 8:25 AM CDT, Jose Pascual-Gutierrez wrote:
>> 
>>> Hello Dave:
>>> 
>>> Operating System: Windows 7
>>> Terminal emulator: Red Hat Cygwin
>>> Processor: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93 GHz
>>> MPICH2 Version: mpich2-1.3.2p1
>>> Shell: bash
>>> 
>>> As recommended in the previous e-mails, I built the mpich2 library 
>>> using the following commands:
>>> 
>>> $ ./configure --prefix=/home/<USERNAME>/mpich2-install-smpd
>>> --with-pm=smpd  --with-pmi=smpd  2>&1 | tee c.txt $ make 2>&1 | tee 
>>> m.txt $ make install 2>&1 | tee mi.txt
>>> 
>>> The installation seemed successful. I tried running the example file 
>>> cpi and I was prompted for an authentication passphrase:
>>> $ mpiexec -n 1 ./cpi
>>> Please specify an authentication passphrase for smpd:
>>> 
>>> Is there such a passphrase that I need to know?
>>> Thank you very much for your help,
>>> José
>>> 
>>> 
>>> -----Original Message-----
>>> From: mpich-discuss-bounces at mcs.anl.gov 
>>> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Jose 
>>> Pascual-Gutierrez
>>> Sent: Friday, June 03, 2011 4:12 PM
>>> To: mpich-discuss at mcs.anl.gov
>>> Subject: Re: [mpich-discuss] mpiexec does not run
>>> 
>>> Thank you, Dave, I will give it a try.
>>> J
>>> 
>>> -----Original Message-----
>>> From: mpich-discuss-bounces at mcs.anl.gov 
>>> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Dave Goodell
>>> Sent: Friday, June 03, 2011 4:11 PM
>>> To: mpich-discuss at mcs.anl.gov
>>> Subject: Re: [mpich-discuss] mpiexec does not run
>>> 
>>> Add "--with-pm=smpd" to your configure command.  You might also need 
>>> to add "--with-pmi=smpd" to get everything working in the end; I 
>>> can't remember if that's necessary or if it's handled automatically 
>>> for you.
>>> 
>>> -Dave
>>> 
>>> On Jun 3, 2011, at 2:53 PM CDT, Jose Pascual-Gutierrez wrote:
>>> 
>>>> Thank you very much Dave for your message.
>>>> 
>>>> How do I "use SMPD instead". Does it imply a new installation with
> other
>>>> configuration, or would it be as simple as adding an argument to 
>>>> the mpiexec command?
>>>> 
>>>> Thank you,
>>>> José
>>>> 
>>>> -----Original Message-----
>>>> From: mpich-discuss-bounces at mcs.anl.gov 
>>>> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Dave 
>>>> Goodell
>>>> Sent: Friday, June 03, 2011 3:51 PM
>>>> To: mpich-discuss at mcs.anl.gov
>>>> Subject: Re: [mpich-discuss] mpiexec does not run
>>>> 
>>>> AFAIK hydra does not work on Windows yet, even under cygwin.  Use 
>>>> SMPD instead.  If you really need hydra, you'll need to use a 
>>>> non-Windows
> OS.
>>>> 
>>>> http://trac.mcs.anl.gov/projects/mpich2/ticket/1050
>>>> 
>>>> -Dave
>>>> 
>>>> On Jun 3, 2011, at 2:44 PM CDT, Jose Pascual-Gutierrez wrote:
>>>> 
>>>>> Thank you very much for your message.
>>>>> 
>>>>> I am running Windows 7 running an Intel(R) Core(TM)2 Duo CPU E7500 
>>>>> @
>>>>> 2.93 GHz processor. I installed Red Hat Cygwin to emulate a Linux 
>>>>> terminal. All the mpich2-1.3.2p1 installation has been done within 
>>>>> Red Hat Cygwin.
>>>>> 
>>>>> The error I get running cpi.exe is the same as previously. Here is 
>>>>> a copy of the output:
>>>>> 
>>>>> $ mpiexec -n 1 .cpi.exe
>>>>> Process 0 of 1 is on IT-0089
>>>>> Pi is approximately 3.1415926544231341, Error is 
>>>>> 0.0000000008333410 Wall clock time = 0.000000 [mpiexec at IT-0089] 
>>>>> control_cb
>>>>> (./pm/pmiserv/pmiserv_cb.c:150): assert
>>>>> (!closed) failed
>>>>> [mpiexec at IT-0089] HYDT_dmxu_poll_wait_for_event
>>>>> (./tools/demux_poll.c:77): callback returned error status 
>>>>> [mpiexec at IT-0089] HYD_pmci_wait_for_completion
>>>>> (./pm/pmiserv/pmiserv_pmci.c:206): error waiting for event 
>>>>> [mpiexec at IT-0089] main (./ui/mpich/mpiexec.c:404): process manager 
>>>>> error waiting for completion
>>>>> 
>>>>> $ mpiexec -n 2 .cpi.exe
>>>>> Process 0 of 1 is on IT-0089
>>>>> Pi is approximately 3.141592654431318, Error is 0.0000000008333387 
>>>>> Wall clock time = 0.000000 Process 1 of 2 is on IT-00089
>>>>> 
>>>>> Thank you so much once again for all your help.
>>>>> J
>>>>> 
>>>>> -----Original Message-----
>>>>> From: mpich-discuss-bounces at mcs.anl.gov 
>>>>> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Darius 
>>>>> Buntinas
>>>>> Sent: Friday, June 03, 2011 3:11 PM
>>>>> To: mpich-discuss at mcs.anl.gov
>>>>> Subject: Re: [mpich-discuss] mpiexec does not run
>>>>> 
>>>>> 
>>>>> What OS are you using?  Try running cpi in the examples directory.
>>>>> 
>>>>> -d
>>>>> 
>>>>> 
>>>>> On Jun 3, 2011, at 1:11 PM, Jose Pascual-Gutierrez wrote:
>>>>> 
>>>>>> To whom it may concern:
>>>>>> 
>>>>>> 
>>>>>> The MPICH2 version 1.3.2p1 installation seemed successful. I can 
>>>>>> compile codes using the
>>>>>> mpif90 compiler. I can run the executable, let's say a.exe, by 
>>>>>> typing in  the command line ./a.exe. In the execution, the MPI 
>>>>>> functions seem
>>>>> 
>>>>>> to work  well. However, when I try to execute mpiexec, I get the 
>>>>>> following error
>>>>>> message:
>>>>>> 
>>>>>> $mpiexec -n 1 ./a.exe
>>>>>> 
>>>>>> [mpiexec at IT-0089] control_cb (./pm/pmiserv/pmiserv_cb.c:150): 
>>>>>> assert
>>>>>> (!closed) failed
>>>>>> [mpiexec at IT-0089] HYDT_dmxu_poll_wait_for_event
>>>>> (./tools/demux_poll.c:77):
>>>>>> callback returned error status
>>>>>> [mpiexec at IT-0089] HYD_pmci_wait_for_completion
>>>>>> (./pm/pmiserv/pmiserv_pmci.c:206): error waiting for event 
>>>>>> [mpiexec at IT-0089] main (./ui/mpich/mpiexec.c:404): process 
>>>>>> manager error  waiting for completion
>>>>>> 
>>>>>> Exactly the same error message is obtained trying with two 
>>>>>> processors
>>>>> "mpiexec -n 2 ./a.exe"
>>>>>> 
>>>>>> Any help would very much appreciated. Thank you very much
>>>>>> 
>>>>>> _______________________________________________
>>>>>> 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
>>>>> _______________________________________________
>>>>> 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
>>>> _______________________________________________
>>>> 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
>>> _______________________________________________
>>> 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
>> 
>> _______________________________________________
>> 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
> _______________________________________________
> 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
_______________________________________________
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