[mpich-discuss] install + config on windows

Jayesh Krishna jayesh at mcs.anl.gov
Fri May 3 11:29:26 CDT 2013


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
>>>
>>>
>>
>>
>
>


-- 
Benoit Véler
Adhérent au groupe JAM Ingénierie
180 Avenue du Genevois, Parc d'Activité de Croix Rousse
73000 Chambéry
http://www.spatiogis.fr
06-46-13-40-94



More information about the discuss mailing list