[mpich-discuss] install + config on windows
Wesley Bland
wbland at mcs.anl.gov
Wed Jun 26 12:49:48 CDT 2013
That's not entirely true. For Windows, there is no version of MPICH that is supported.
On Jun 26, 2013, at 12:46 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
>
> FYI:
>
> sed -e 's/MPICH2/MPICH/g'
>
> -- Pavan
>
> On 06/26/2013 12:38 PM, Jayesh Krishna wrote:
>> Hi,
>> Please note that upgrading the user who installs the software (Utilisateur) to an administrator is not enough to install MPICH2 correctly. You need to make sure that you install MPICH2 from an administrator command prompt (The MPICH2 installer's guide should have the details). Please follow the steps below to install MPICH2,
>>
>> # Uninstall any exising versions of MPICH2 on your system
>> # Right-click on the Windows command prompt icon and select "Run as administrator" (Now you have an administrator command prompt)
>> # From within the command prompt type "msiexec /i MPICH2-INSTALLER-FILE.msi" (Where MPICH2-INSTALLER-FILE.msi is the msi file downloaded from the MPICH2 website to install MPICH2) to install MPICH2.
>>
>> Regards,
>> Jayesh
>>
>> ----- Original Message -----
>> From: "spatiogis" <geo at spatiogis.fr>
>> To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
>> Sent: Wednesday, June 19, 2013 1:13:48 AM
>> Subject: Re: [mpich-discuss] install + config on windows
>>
>> Hello,
>>
>> I am coming back to this post to try to see what is happening.
>>
>> Utilisateur is now the admin on my machine. In wmpiregister, I just let
>> the account by default (empty), and the password "behappy"
>>
>> Actually, the register command seems to have worked correctly. Anyway in
>> wmpiconfig, there is this line : "nbpc: MPICH2 not installed or unable to
>> query the host"
>>
>> Is it possible to reboot the host and the password ?
>>
>> Regards,
>>
>> Benoit
>>
>>> Hi,
>>> From the log output it looks like credentials (password) for
>>> Utilisateur was not correct.
>>> Is Utilisateur a valid Windows user on your machine? Have you
>>> registered the username/password correctly (Try re-registering the
>>> username+password by typing "mpiexec -register" at the command prompt)?
>>>
>>> Regards,
>>> Jayesh
>>>
>>> ----- Original Message -----
>>> From: "spatiogis" <geo at spatiogis.fr>
>>> To: discuss at mpich.org
>>> Sent: Friday, May 3, 2013 11:58:00 AM
>>> Subject: Re: [mpich-discuss] install + config on windows
>>>
>>> Hello,
>>>
>>> for this command :
>>>
>>> # C:\Progra~1\MPICH2\bin\mpiexec -verbose -n 2
>>> C:\Progra~1\MPICH2\examples\cpi.exe
>>>
>>> result :
>>>
>>> ....../SMPDU_Sock_post_readv
>>> ...../SMPDU_Sock_post_read
>>> ..../smpd_handle_op_connect
>>> ....sock_waiting for the next event.
>>> ....\SMPDU_Sock_wait
>>> ..../SMPDU_Sock_wait
>>> ....SOCK_OP_READ event.error = 0, result = 0, context=left
>>> ....\smpd_handle_op_read
>>> .....\smpd_state_reading_challenge_string
>>> ......read challenge string: '1.4.1p1 18467'
>>> ......\smpd_verify_version
>>> ....../smpd_verify_version
>>> ......Verification of smpd version succeeded
>>> ......\smpd_hash
>>> ....../smpd_hash
>>> ......\SMPDU_Sock_post_write
>>> .......\SMPDU_Sock_post_writev
>>> ......./SMPDU_Sock_post_writev
>>> ....../SMPDU_Sock_post_write
>>> ...../smpd_state_reading_challenge_string
>>> ..../smpd_handle_op_read
>>> ....sock_waiting for the next event.
>>> ....\SMPDU_Sock_wait
>>> ..../SMPDU_Sock_wait
>>> ....SOCK_OP_WRITE event.error = 0, result = 0, context=left
>>> ....\smpd_handle_op_write
>>> .....\smpd_state_writing_challenge_response
>>> ......wrote challenge response: 'dafd1d07c1e6e9cb5fae968403d0d933'
>>> ......\SMPDU_Sock_post_read
>>> .......\SMPDU_Sock_post_readv
>>> ......./SMPDU_Sock_post_readv
>>> ....../SMPDU_Sock_post_read
>>> ...../smpd_state_writing_challenge_response
>>> ..../smpd_handle_op_write
>>> ....sock_waiting for the next event.
>>> ....\SMPDU_Sock_wait
>>> ..../SMPDU_Sock_wait
>>> ....SOCK_OP_READ event.error = 0, result = 0, context=left
>>> ....\smpd_handle_op_read
>>> .....\smpd_state_reading_connect_result
>>> ......read connect result: 'SUCCESS'
>>> ......\SMPDU_Sock_post_write
>>> .......\SMPDU_Sock_post_writev
>>> ......./SMPDU_Sock_post_writev
>>> ....../SMPDU_Sock_post_write
>>> ...../smpd_state_reading_connect_result
>>> ..../smpd_handle_op_read
>>> ....sock_waiting for the next event.
>>> ....\SMPDU_Sock_wait
>>> ..../SMPDU_Sock_wait
>>> ....SOCK_OP_WRITE event.error = 0, result = 0, context=left
>>> ....\smpd_handle_op_write
>>> .....\smpd_state_writing_process_session_request
>>> ......wrote process session request: 'process'
>>> ......\SMPDU_Sock_post_read
>>> .......\SMPDU_Sock_post_readv
>>> ......./SMPDU_Sock_post_readv
>>> ....../SMPDU_Sock_post_read
>>> ...../smpd_state_writing_process_session_request
>>> ..../smpd_handle_op_write
>>> ....sock_waiting for the next event.
>>> ....\SMPDU_Sock_wait
>>> ..../SMPDU_Sock_wait
>>> ....SOCK_OP_READ event.error = 0, result = 0, context=left
>>> ....\smpd_handle_op_read
>>> .....\smpd_state_reading_cred_request
>>> ......read cred request: 'credentials'
>>> ......\smpd_hide_string_arg
>>> .......\first_token
>>> ......./first_token
>>> .......\compare_token
>>> ......./compare_token
>>> .......\next_token
>>> ........\first_token
>>> ......../first_token
>>> ........\first_token
>>> ......../first_token
>>> ......./next_token
>>> ....../smpd_hide_string_arg
>>> ....../smpd_hide_string_arg
>>> ......\smpd_hide_string_arg
>>> .......\first_token
>>> ......./first_token
>>> .......\compare_token
>>> ......./compare_token
>>> .......\next_token
>>> ........\first_token
>>> ......../first_token
>>> ........\first_token
>>> ......../first_token
>>> ......./next_token
>>> ....../smpd_hide_string_arg
>>> ....../smpd_hide_string_arg
>>> ......\smpd_hide_string_arg
>>> .......\first_token
>>> ......./first_token
>>> .......\compare_token
>>> ......./compare_token
>>> .......\next_token
>>> ........\first_token
>>> ......../first_token
>>> ........\first_token
>>> ......../first_token
>>> ......./next_token
>>> ....../smpd_hide_string_arg
>>> ....../smpd_hide_string_arg
>>> ......\smpd_hide_string_arg
>>> .......\first_token
>>> ......./first_token
>>> .......\compare_token
>>> ......./compare_token
>>> .......\next_token
>>> ........\first_token
>>> ......../first_token
>>> ........\first_token
>>> ......../first_token
>>> ......./next_token
>>> ....../smpd_hide_string_arg
>>> ....../smpd_hide_string_arg
>>> ......\smpd_hide_string_arg
>>> .......\first_token
>>> ......./first_token
>>> .......\compare_token
>>> ......./compare_token
>>> .......\next_token
>>> ........\first_token
>>> ......../first_token
>>> ........\first_token
>>> ......../first_token
>>> ......./next_token
>>> ....../smpd_hide_string_arg
>>> ....../smpd_hide_string_arg
>>> .......\smpd_option_on
>>> ........\smpd_get_smpd_data
>>> .........\smpd_get_smpd_data_from_environment
>>> ........./smpd_get_smpd_data_from_environment
>>> .........\smpd_get_smpd_data_default
>>> ........./smpd_get_smpd_data_default
>>> .........Unable to get the data for the key 'nocache'
>>> ......../smpd_get_smpd_data
>>> ......./smpd_option_on
>>> ......\smpd_hide_string_arg
>>> .......\first_token
>>> ......./first_token
>>> .......\compare_token
>>> ......./compare_token
>>> .......\next_token
>>> ........\first_token
>>> ......../first_token
>>> ........\first_token
>>> ......../first_token
>>> ......./next_token
>>> ....../smpd_hide_string_arg
>>> ....../smpd_hide_string_arg
>>> ......\SMPDU_Sock_post_write
>>> .......\SMPDU_Sock_post_writev
>>> ......./SMPDU_Sock_post_writev
>>> ....../SMPDU_Sock_post_write
>>> ...../smpd_handle_op_read
>>> .....sock_waiting for the next event.
>>> .....\SMPDU_Sock_wait
>>> ...../SMPDU_Sock_wait
>>> .....SOCK_OP_WRITE event.error = 0, result = 0, context=left
>>> .....\smpd_handle_op_write
>>> ......\smpd_state_writing_cred_ack_yes
>>> .......wrote cred request yes ack.
>>> .......\SMPDU_Sock_post_write
>>> ........\SMPDU_Sock_post_writev
>>> ......../SMPDU_Sock_post_writev
>>> ......./SMPDU_Sock_post_write
>>> ....../smpd_state_writing_cred_ack_yes
>>> ...../smpd_handle_op_write
>>> .....sock_waiting for the next event.
>>> .....\SMPDU_Sock_wait
>>> ...../SMPDU_Sock_wait
>>> .....SOCK_OP_WRITE event.error = 0, result = 0, context=left
>>> .....\smpd_handle_op_write
>>> ......\smpd_state_writing_account
>>> .......wrote account: 'Utilisateur'
>>> .......\smpd_encrypt_data
>>> ......./smpd_encrypt_data
>>> .......\SMPDU_Sock_post_write
>>> ........\SMPDU_Sock_post_writev
>>> ......../SMPDU_Sock_post_writev
>>> ......./SMPDU_Sock_post_write
>>> ....../smpd_state_writing_account
>>> ...../smpd_handle_op_write
>>> .....sock_waiting for the next event.
>>> .....\SMPDU_Sock_wait
>>> ...../SMPDU_Sock_wait
>>> .....SOCK_OP_WRITE event.error = 0, result = 0, context=left
>>> .....\smpd_handle_op_write
>>> ......\smpd_hide_string_arg
>>> .......\first_token
>>> ......./first_token
>>> .......\compare_token
>>> ......./compare_token
>>> .......\next_token
>>> ........\first_token
>>> ......../first_token
>>> ........\first_token
>>> ......../first_token
>>> ......./next_token
>>> ....../smpd_hide_string_arg
>>> ....../smpd_hide_string_arg
>>> .......\smpd_hide_string_arg
>>> ........\first_token
>>> ......../first_token
>>> ........\compare_token
>>> ......../compare_token
>>> ........\next_token
>>> .........\first_token
>>> ........./first_token
>>> .........\first_token
>>> ........./first_token
>>> ......../next_token
>>> ......./smpd_hide_string_arg
>>> ......./smpd_hide_string_arg
>>> .......\SMPDU_Sock_post_read
>>> ........\SMPDU_Sock_post_readv
>>> ......../SMPDU_Sock_post_readv
>>> ......./SMPDU_Sock_post_read
>>> ......\smpd_hide_string_arg
>>> .......\first_token
>>> ......./first_token
>>> .......\compare_token
>>> ......./compare_token
>>> .......\next_token
>>> ........\first_token
>>> ......../first_token
>>> ........\first_token
>>> ......../first_token
>>> ......./next_token
>>> ....../smpd_hide_string_arg
>>> ....../smpd_hide_string_arg
>>> ...../smpd_handle_op_write
>>> .....sock_waiting for the next event.
>>> .....\SMPDU_Sock_wait
>>> ...../SMPDU_Sock_wait
>>> .....SOCK_OP_READ event.error = 0, result = 0, context=left
>>> .....\smpd_handle_op_read
>>> ......\smpd_state_reading_process_result
>>> .......read process session result: 'FAIL'
>>> .......\smpd_hide_string_arg
>>> ........\first_token
>>> ......../first_token
>>> ........\compare_token
>>> ......../compare_token
>>> ........\next_token
>>> .........\first_token
>>> ........./first_token
>>> .........\first_token
>>> ........./first_token
>>> ......../next_token
>>> ......./smpd_hide_string_arg
>>> ......./smpd_hide_string_arg
>>> .......\smpd_hide_string_arg
>>> ........\first_token
>>> ......../first_token
>>> ........\compare_token
>>> ......../compare_token
>>> ........\next_token
>>> .........\first_token
>>> ........./first_token
>>> .........\first_token
>>> ........./first_token
>>> ......../next_token
>>> ......./smpd_hide_string_arg
>>> ......./smpd_hide_string_arg
>>> Credentials for Utilisateur rejected connecting to Benoit
>>> .......process session rejected
>>> .......\SMPDU_Sock_post_close
>>> ........\SMPDU_Sock_post_read
>>> .........\SMPDU_Sock_post_readv
>>> ........./SMPDU_Sock_post_readv
>>> ......../SMPDU_Sock_post_read
>>> ......./SMPDU_Sock_post_close
>>> .......\smpd_post_abort_command
>>> ........\smpd_create_command
>>> .........\smpd_init_command
>>> ........./smpd_init_command
>>> ......../smpd_create_command
>>> ........\smpd_add_command_arg
>>> ......../smpd_add_command_arg
>>> ........\smpd_command_destination
>>> .........0 -> 0 : returning NULL context
>>> ......../smpd_command_destination
>>> Aborting: Unable to connect to Benoit
>>> ......./smpd_post_abort_command
>>> .......\smpd_exit
>>> ........\smpd_kill_all_processes
>>> ......../smpd_kill_all_processes
>>> ........\smpd_finalize_drive_maps
>>> ......../smpd_finalize_drive_maps
>>> ........\smpd_dbs_finalize
>>> ......../smpd_dbs_finalize
>>> ........\SMPDU_Sock_finalize
>>> ......../SMPDU_Sock_finalize
>>>
>>> C:\Users\Utilisateur>
>>>> Hi,
>>>> Looks like you missed the "-" before the status ("smpd -status" not
>>>> "smpd status") argument.
>>>> It also looks like you have multiple MPI libraries installed in your
>>>> system. Try running this command (full path to mpiexec and smpd),
>>>>
>>>> # C:\Progra~1\MPICH2\bin\smpd -status
>>>>
>>>> # C:\Progra~1\MPICH2\bin\mpiexec -verbose -n 2
>>>> C:\Progra~1\MPICH2\examples\cpi.exe
>>>>
>>>>
>>>> Regards,
>>>> Jayesh
>>>>
>>>> ----- Original Message -----
>>>> From: "spatiogis" <geo at spatiogis.fr>
>>>> To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
>>>> Sent: Friday, May 3, 2013 11:05:34 AM
>>>> Subject: Re: [mpich-discuss] install + config on windows
>>>>
>>>> Hello,
>>>>
>>>> C:\Users\Utilisateur>smpd status
>>>> Unexpected parameters: status
>>>>
>>>> C:\Users\Utilisateur>mpiexec -verbose -n 2
>>>> C:\Progra~1\MPICH2\examples\cpi.exe
>>>> Unknown option: -verbose
>>>>
>>>> -----------------------------------------------------------------------------
>>>> C:\Program Files\MPICH2\examples>mpiexec -verbose -n 2 cpi.exe
>>>> Unknown option: -verbose
>>>>
>>>> C:\Program Files\MPICH2\examples>smpd status
>>>> Unexpected parameters: status
>>>> -----------------------------------------------------------------------------
>>>>
>>>> regards, Ben
>>>>
>>>>> Hi,
>>>>> Ok. Please send us the output of the following commands,
>>>>>
>>>>> # smpd -status
>>>>> # mpiexec -verbose -n 2 C:\Progra~1\MPICH2\examples\cpi.exe
>>>>>
>>>>> Please copy-paste the command and the complete output in your email.
>>>>>
>>>>> Regards,
>>>>> Jayesh
>>>>>
>>>>>
>>>>> ----- Original Message -----
>>>>> From: "spatiogis" <geo at spatiogis.fr>
>>>>> To: discuss at mpich.org
>>>>> Sent: Friday, May 3, 2013 1:46:53 AM
>>>>> Subject: Re: [mpich-discuss] install + config on windows
>>>>>
>>>>> Hello
>>>>>
>>>>>
>>>>>> (PS: I am assuming from your reply in the previous email that you can
>>>>>> run a command like "mpiexec -n 2 C:\Progra~1\MPICH2\examples\cpi.exe"
>>>>>> correctly)
>>>>>
>>>>> In fact this command doesn't run.
>>>>>
>>>>> The message is this one
>>>>>
>>>>> [01:11728]....ERROR:unable to read the cmd header on the pmi context,
>>>>> Error = -1
>>>>>
>>>>> Ben
>>>>>
>>>>>
>>>>>> ----- Original Message -----
>>>>>> From: "spatiogis" <geo at spatiogis.fr>
>>>>>> To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
>>>>>> Sent: Thursday, May 2, 2013 10:48:56 AM
>>>>>> Subject: Re: [mpich-discuss] install + config on windows
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>>> Hi,
>>>>>>> Are you able to run any other MPI programs? Try running the example
>>>>>>> program, cpi.exe (C:\Program Files\MPICH2\examples\cpi.exe), to make
>>>>>>> sure that your MPICH2 installation works.
>>>>>>
>>>>>> yes it does work
>>>>>>
>>>>>>> Installing MPICH2 on Windows 7 typically requires you to uninstall
>>>>>>> any
>>>>>>> previous versions of MPICH2, launch an administrative command promt
>>>>>>> and
>>>>>>> run "msiexec /i mpich2-installer.msi" to install MPICH2.
>>>>>>
>>>>>> yes it 's been installed like this...
>>>>>>
>>>>>> In wmpiconfig, the message is the following in the 'Get settings'
>>>>>> line.
>>>>>>
>>>>>> Credentials for Utilisateur rejected connecting to host
>>>>>> Aborting: Unable to connect to host
>>>>>>
>>>>>> The software I try to use is Taudem, which is intergrated inside
>>>>>> Qgis.
>>>>>> Launching a taudem process inside Qgis gives the same message.
>>>>>>
>>>>>>
>>>>>>> Regards,
>>>>>>> Jayesh
>>>>>>
>>>>>> Sincerely, Ben
>>>>>>
>>>>>>>
>>>>>>> ----- Original Message -----
>>>>>>> From: "spatiogis" <geo at spatiogis.fr>
>>>>>>> To: discuss at mpich.org
>>>>>>> Sent: Thursday, May 2, 2013 10:08:23 AM
>>>>>>> Subject: Re: [mpich-discuss] install + config on windows
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> in my case Mpich is normally used to run .exe programs. I guess that
>>>>>>> they
>>>>>>> are already compiled...
>>>>>>> The .exe files are integrated into a software, and accessed from
>>>>>>> menus
>>>>>>> inside it. When I run one of the programs, the answer is actually
>>>>>>> "unable
>>>>>>> to query host".
>>>>>>> At the end, the process is not realised. It seems that this 'host'
>>>>>>> question is a problem to the software...
>>>>>>>
>>>>>>> Sincerely,
>>>>>>>
>>>>>>> Ben.
>>>>>>>
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> You can download MPICH2 binaries for Windows at
>>>>>>>> http://www.mpich.org/downloads/ .
>>>>>>>> You need to compile your MPI programs with MPICH2 to make it work.
>>>>>>>> I
>>>>>>>> would recommend recompiling your code after you install MPICH2 (If
>>>>>>>> you
>>>>>>>> have MPI program binaries pre-built with MPICH2 - instead of
>>>>>>>> compiling
>>>>>>>> them on your own - make sure that you install the same version of
>>>>>>>> MPICH2
>>>>>>>> that was used to build the binaries).
>>>>>>>> The wmpiregister program has a bug and you can ignore this error
>>>>>>>> message ("...unable to query host"). Can you run your MPI program
>>>>>>>> using
>>>>>>>> mpiexec from a command prompt?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Jayesh
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>> From: "spatiogis" <geo at spatiogis.fr>
>>>>>>>> To: discuss at mpich.org
>>>>>>>> Sent: Tuesday, April 30, 2013 9:26:35 AM
>>>>>>>> Subject: [mpich-discuss] install + config on windows
>>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I'm not very good at computing, but I would like to install Mpich2
>>>>>>>> on
>>>>>>>> windows 7 - 64 bits. There is only one pc, with one user plus the
>>>>>>>> admin,
>>>>>>>> and a simple core processor.
>>>>>>>>
>>>>>>>> I would like to know if it's mandatory to have compiling softwares
>>>>>>>> with
>>>>>>>> it to make it work, whereas it is asked in this case only to make
>>>>>>>> run
>>>>>>>> another software, and not for compiling (that would maybe save some
>>>>>>>> disk
>>>>>>>> space and simplify the installation) ?
>>>>>>>>
>>>>>>>> My second issue is that I must be missing something about the
>>>>>>>> server
>>>>>>>> configuration. I have installed Mpich from the .msi file, then
>>>>>>>> configured
>>>>>>>> the wmpiregister program with the Domain/user informations.
>>>>>>>>
>>>>>>>> There is this message displayed when trying to connect in the
>>>>>>>> 'configurable settings' window : 'MPICH2 not installed or unable to
>>>>>>>> query
>>>>>>>> the host'.
>>>>>>>>
>>>>>>>> What is the host actually ?
>>>>>>>>
>>>>>>>> I know I am starting from very far, I am sorry for these very
>>>>>>>> simple
>>>>>>>> questions. Thanks if you can reply me, that would certainly save me
>>>>>>>> some
>>>>>>>> long hours of reading and testing ;)
>>>>>>>>
>>>>>>>> sincerely,
>>>>>>>>
>>>>>>>> Ben
>>>>>>>> _______________________________________________
>>>>>>>> discuss mailing list discuss at mpich.org
>>>>>>>> To manage subscription options or unsubscribe:
>>>>>>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list