[mpich2-dev] I can not make MPI recognizes a dual core
Yessica Brinkmann
yessica.brinkmann at gmail.com
Fri May 21 19:08:41 CDT 2010
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 mpich2-dev
mailing list