[mpich-discuss] [mpich2-dev] I can not make MPI recognizes a dual core

jayesh at mcs.anl.gov jayesh at mcs.anl.gov
Tue May 25 15:52:09 CDT 2010


Hi,
 This is strange... With the information provided by you I can only make the following suggestions (I can provide better suggestions if you provide me more details),

# Uninstall smpd from an ADMIN command prompt by typing, "smpd -uninstall"
# Install smpd from the ADMIN command prompt by typing, "smpd -install -phrase behappy"
# Check status of smpd from the ADMIN command prompt by typing, "smpd -status"
# Run a non-MPI program from the ADMIN command prompt by typing, "mpiexec -n 2 hostname"

Regards,
Jayesh 
----- Original Message -----
From: "Yessica Brinkmann" <yessica.brinkmann at gmail.com>
To: jayesh at mcs.anl.gov
Cc: mpich-discuss at mcs.anl.gov
Sent: Tuesday, May 25, 2010 3:10:40 PM GMT -06:00 US/Canada Central
Subject: Re: [mpich2-dev] I can not make MPI recognizes a dual core

Hi,
I reinstalled MPICH and I does not modified the default SMPD
passphrase provided in the user input textbox, it is behappy.
After the installation I try to run a non-MPI program (mpiexec -n 2
hostname) and I have the same error:
I have the output:
Please specify an authentication passphrase for smpd: I write behappy
The system response to me:
Aborting: unable to connect to User-PC
Very thanks.
I will thanks any help.
Yessica Brinkmann

2010/5/25 Yessica Brinkmann <yessica.brinkmann at gmail.com>:
> Hi,
> Yes, I modified the default SMPD passphrase provided in the user input
> textbox. The error is because I modified the passphrase or because I
> provided an incorrect passphrase at the command line? Maybe I provided
> an incorrect passphrase at the command line, maybe I should to
> reinstall the MPICH2 and annotate the passphrase.
> Thanks very much.
> Yessica Brinkmann
>
> 2010/5/25  <jayesh at mcs.anl.gov>:
>> Hi,
>>  The error message shows that you did not specify an authentication passphrase for SMPD. If the installation process was successful you should not be seeing this message.
>>  During the installation process, the MPICH2 installer requests for the SMPD passphrase. A default SMPD passphrase is provided in the user input textbox for convenience. Did you delete/remove the default passphrase during the installation step ?
>>  Can you reply with details the steps used to install MPICH2 (You can add inputs to the installation steps that I provided in my previous email)? Also specify, in detail, if you modified any default input values during the installation process.
>>
>> Regards,
>> Jayesh
>> ----- Original Message -----
>> From: "Yessica Brinkmann" <yessica.brinkmann at gmail.com>
>> To: jayesh at mcs.anl.gov
>> Cc: mpich-discuss at mcs.anl.gov
>> Sent: Tuesday, May 25, 2010 11:18:27 AM GMT -06:00 US/Canada Central
>> Subject: Re: [mpich2-dev] I can not make MPI recognizes a dual core
>>
>> Hi, Very thanks for your response.
>> I reinstalled the MPICH2 by the steps that you say to me.
>> After the installation I try to run a non-MPI program (mpiexec -n 2
>> hostname) and I have the same error:
>> I have the output:
>> Please specify an authentication passphrase for smpd:
>> I write the authentication passphrase and the system response to me:
>> Aborting: unable to connect to User-PC
>> Very thanks.
>> I will thanks any help.
>> Yessica Brinkmann
>>
>> 2010/5/25  <jayesh at mcs.anl.gov>:
>>> Hi,
>>>  I would recommend uninstalling MPICH2 and installing it again from the administrator command prompt by following the steps below.
>>>
>>> # Download the latest version of MPICH2 (http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads).
>>> # Open an administrator command prompt (Right-click on the command prompt icon and select "Run as administrator")
>>> # From the admin command prompt use the msiexec utility to uninstall MPICH2 (eg: Type "msiexec /x mpich2-1.2.1p1-win-ia32.msi" to uninstall MPICH2 using the mpich2-1.2.1p1-win-ia32.msi installer)
>>> # The above command will bring up the Installer GUI to uninstall MPICH2. Follow the steps to uninstall MPICH2.
>>> # From the admin command prompt use the msiexec utility to install MPICH2 (eg: Type "msiexec /i mpich2-1.2.1p1-win-ia32.msi" to install MPICH2 using the mpich2-1.2.1p1-win-ia32.msi installer)
>>> # The above command will bring up the Installer GUI to install MPICH2. Follow the installer steps to install MPICH2.
>>> # After the installation try to run a non-MPI program (mpiexec -n 2 hostname) . If the job launcher, mpiexec, requests for a username/password please provide the same (When specifying the username/password make sure that you specify the domain name if the user is a domain user).
>>>
>>>  Let us know the results.
>>>
>>> Regards,
>>> Jayesh
>>> ----- Original Message -----
>>> From: "Yessica Brinkmann" <yessica.brinkmann at gmail.com>
>>> To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
>>> Cc: mpich-discuss at mcs.anl.gov
>>> Sent: Monday, May 24, 2010 5:28:07 PM GMT -06:00 US/Canada Central
>>> Subject: Re: [mpich2-dev] I can not make MPI recognizes a dual core
>>>
>>> Hi, Very thanks for your response.
>>> I sorry, I now open an administrative command prompt.
>>> Now, when I write:
>>> smpd -start
>>> I have the output:
>>> OpenService failed:
>>> El servicio especificado no existe como servicio instalado (error 1060).
>>>
>>> When I write:
>>> smpd -install
>>> I have the output:
>>> MPICH Process Manager, Argonne National Lab installed.
>>>
>>> Now, I write:
>>> smpd -start
>>> I have the output:
>>> MPICH Process Manager, Argonne National Lab failed to start.
>>> Ya se está ejecutando una instancia de este servicio (error 1056)
>>>
>>> And when I write:
>>> smpd -status
>>> I have the output:
>>> Please specify an authentication passphrase for smpd:
>>> I write the authentication passphrase and the system response to me:
>>> Aborting: unable to connect to User-PC
>>>
>>> And when I write:
>>> mpiexec -n 2 hostname
>>> I have the output:
>>> Please specify an authentication passphrase for smpd:
>>> I write the authentication passphrase and the system response to me:
>>> Aborting: unable to connect to User-PC
>>>
>>> I will thanks any help.
>>> Yessica Brinkmann
>>>
>>> 2010/5/24 Jayesh Krishna <jayesh at mcs.anl.gov>:
>>>> Hi,
>>>>  This is strange. From the error messages it looks like you don't have admin privileges. Are you able to open an administrative command prompt (Right-click on command prompt icon - select "Run as administrator")?
>>>>  What is the output when you type "smpd -install" from the admin command prompt (You have to run the command from an administrator command prompt)?
>>>>
>>>> Regards,
>>>> Jayesh
>>>> ----- Original Message -----
>>>> From: "Yessica Brinkmann" <yessica.brinkmann at gmail.com>
>>>> To: jayesh at mcs.anl.gov
>>>> Sent: Monday, May 24, 2010 5:02:14 PM GMT -06:00 US/Canada Central
>>>> Subject: Re: [mpich2-dev] I can not make MPI recognizes a dual core
>>>>
>>>> Hi, very thanks for your interest.
>>>> When I type smpd -start the system response to me:
>>>> OpenSCManager failed:
>>>> Access denied (error 5)
>>>>
>>>> And when I type smpd -uninstall I have the same error:
>>>> OpenSCManager failed:
>>>> Access denied (error 5)
>>>>
>>>> Very thanks, I will thanks any help.
>>>> Yessica Brinkmann
>>>>
>>>> 2010/5/24  <jayesh at mcs.anl.gov>:
>>>>> Hi,
>>>>>  Try starting smpd from the administrative command prompt (Type "smpd -start" from the administrative command prompt) and let us know the result.
>>>>>  If starting smpd (the step above) fails, try uninstalling+installing smpd from the admin command prompt (Type "smpd -uninstall" to uninstall SMPD and then type "smpd -install" to install SMPD) and let us know the results.
>>>>>
>>>>> Regards,
>>>>> Jayesh
>>>>> ----- Original Message -----
>>>>> From: "Yessica Brinkmann" <yessica.brinkmann at gmail.com>
>>>>> To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
>>>>> Cc: mpich-discuss at mcs.anl.gov
>>>>> Sent: Monday, May 24, 2010 4:40:44 PM GMT -06:00 US/Canada Central
>>>>> Subject: Re: [mpich2-dev] I can not make MPI recognizes a dual core
>>>>>
>>>>> Hi, Very thanks for your response!!!
>>>>> I does not have error messages during MPICH2 installation. I turn off
>>>>> the firewall for run mpiexec -n 2 hostname.
>>>>>
>>>>> The output of "smpd -status" from an administrative command prompt is:
>>>>> no smpd running on User-PC
>>>>>
>>>>> I try running mpiexec -n 2 hostname from the administrative command
>>>>> prompt and I have the same error:
>>>>> Error while connectig to host, No se puede establecer una conexión ya
>>>>> que el equipo de destino denegó expresamente dicha conexión (10061)
>>>>> Connect on sock(host=User-PC, port=8676) failed, exhaused all end
>>>>> points Unable to connect to 'User-PC:8678', sock error: Error = -1
>>>>>
>>>>> Very thanks. I will thanks any help.
>>>>> Yessica Brinkmann
>>>>>
>>>>> 2010/5/24 Jayesh Krishna <jayesh at mcs.anl.gov>:
>>>>>> Hi,
>>>>>>  Did you get any error messages during MPICH2 installation ? Do you have any firewalls running on your machine (If so, turn off the firewall and re-run "mpiexec -n 2 hostname")?
>>>>>>  What is the output of "smpd -status" (Type "smpd -status" from an administrative command prompt)? Can you try running "mpiexec -n 2 hostname" from the administrative command prompt ?
>>>>>>
>>>>>> Regards,
>>>>>> Jayesh
>>>>>> ----- Original Message -----
>>>>>> From: "Yessica Brinkmann" <yessica.brinkmann at gmail.com>
>>>>>> To: jayesh at mcs.anl.gov
>>>>>> Cc: mpich-discuss at mcs.anl.gov
>>>>>> Sent: Monday, May 24, 2010 4:03:51 PM GMT -06:00 US/Canada Central
>>>>>> Subject: Re: [mpich2-dev] I can not make MPI recognizes a dual core
>>>>>>
>>>>>> Hi, Very thanks for your response and your interest.
>>>>>> I do all that you say to me, I reinstalled MPICH2.
>>>>>> I try to run a non-MPI program (mpiexec -n 2 hostname) and I have the
>>>>>> same error:
>>>>>> Error while connectig to host, No se puede establecer una conexión ya
>>>>>> que el equipo de destino denegó expresamente dicha conexión (10061)
>>>>>> Connect on sock(host=User-PC, port=8676) failed, exhaused all end
>>>>>> points Unable to connect to 'User-PC:8678', sock error: Error = -1
>>>>>>
>>>>>> I will thanks any help.
>>>>>> Yessica Brinkmann
>>>>>>
>>>>>>
>>>>>> 2010/5/24  <jayesh at mcs.anl.gov>:
>>>>>>> Hi,
>>>>>>>  Did you get any errors during the installation of MPICH2 ?
>>>>>>>  I would recommend the following,
>>>>>>>
>>>>>>> # Uninstall MPICH2 from your system.
>>>>>>> # Download the latest version of MPICH2 (http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads).
>>>>>>> # Open an administrative command prompt (Right-click on the command prompt icon and select "Run as administrator")
>>>>>>> # From the administrative command prompt use the msiexec utility to install MPICH2 (eg: Type "msiexec /i mpich2-1.2.1p1-win-ia32.msi" to install MPICH2 using the mpich2-1.2.1p1-win-ia32.msi installer)
>>>>>>> # The above command will bring up the Installer GUI to install MPICH2. Follow the installer steps to install MPICH2.
>>>>>>> # After the installation try to run a non-MPI program (mpiexec -n 2 hostname) . If the job launcher, mpiexec, requests for a username/password please provide the same (When specifying the username/password make sure that you specify the domain name if the user is a domain user).
>>>>>>>
>>>>>>>  Let us know the results.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Jayesh
>>>>>>> (PS: Please reply to this email for further correspondence regarding this request - I have copied the email to mpich-discuss instead of mpich2-dev since the discussion is not related to mpich2 dev )
>>>>>>>
>>>>>>> ----- Original Message -----
>>>>>>> From: "Yessica Brinkmann" <yessica.brinkmann at gmail.com>
>>>>>>> To: mpich2-dev at mcs.anl.gov
>>>>>>> Sent: Friday, May 21, 2010 7:08:41 PM GMT -06:00 US/Canada Central
>>>>>>> Subject: Re: [mpich2-dev] I can not make MPI recognizes a dual core
>>>>>>>
>>>>>>> Very thanks for your response. I am using windows 7 and I execute at
>>>>>>> windows comman line mpiexec -np 2 my_program.exe that you say to me,
>>>>>>> at the MPICH2\bin directory.
>>>>>>> The system response to me:
>>>>>>> Please specify an authentication passphrase for smpd:
>>>>>>> And then I write the authentication passphrase that I write on the
>>>>>>> MPICH instalation and the system response to me:
>>>>>>> Error while connectig to host, No se puede establecer una conexión ya
>>>>>>> que el equipo de destino denegó expresamente dicha conexión (10061)
>>>>>>> Connect on sock(host=User-PC, port=8676) failed, exhaused all end
>>>>>>> points Unable to connect to 'User-PC:8678', sock error: Error = -1
>>>>>>> I will thanks you very much any help.
>>>>>>> Thanks,
>>>>>>> Yessica Brinkmann
>>>>>>>
>>>>>>> 2010/5/21 Lisandro Dalcin <dalcinl at gmail.com>:
>>>>>>>> On 21 May 2010 14:07, Yessica Brinkmann <yessica.brinkmann at gmail.com> wrote:
>>>>>>>>> Hello.
>>>>>>>>
>>>>>>>> Hello, Yessica
>>>>>>>>
>>>>>>>>> I am using MPICH2. I am writing my first program in MPI.
>>>>>>>>
>>>>>>>> This mailing list is related to DEVELOPMENT of MPICH2, general (and
>>>>>>>> pretty basic, in your case) user-level questions about MPI should be
>>>>>>>> directed elsewhere.
>>>>>>>>
>>>>>>>>> I write the sentences:
>>>>>>>>> ...
>>>>>>>>> int id;
>>>>>>>>> MPI_Comm_rank (MPI_COMM_WORLD, & id);
>>>>>>>>> if (id == 0)
>>>>>>>>> / * Master task * /
>>>>>>>>> (
>>>>>>>>> ...
>>>>>>>>> )
>>>>>>>>> else
>>>>>>>>> / * Worker task * /
>>>>>>>>> (
>>>>>>>>> ...
>>>>>>>>> )
>>>>>>>>> And I write other sentences. The issue is that it does not recognize a
>>>>>>>>> DualCore processor, and takes the machine as it only has one
>>>>>>>>> processor, indeed, never enters the else.
>>>>>>>>> I would appreciate very much any help.
>>>>>>>>> Sincerely,
>>>>>>>>> Yessica Brinkmann
>>>>>>>>>
>>>>>>>>
>>>>>>>> After compiling your program:
>>>>>>>>
>>>>>>>> $ mpicc sourcecode.c -o myprogram
>>>>>>>>
>>>>>>>> you have to run it like this (requires first to "mpdboot"):
>>>>>>>>
>>>>>>>> $ mpiexec -n 2 ./myprogram
>>>>>>>>
>>>>>>>> of like this:
>>>>>>>>
>>>>>>>> $ mpiexec.hydra -n 2 ./myprogram
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Lisandro Dalcin
>>>>>>>> ---------------
>>>>>>>> CIMEC (INTEC/CONICET-UNL)
>>>>>>>> Predio CONICET-Santa Fe
>>>>>>>> Colectora RN 168 Km 472, Paraje El Pozo
>>>>>>>> Tel: +54-342-4511594 (ext 1011)
>>>>>>>> Tel/Fax: +54-342-4511169
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


More information about the mpich-discuss mailing list