[mpich-discuss] MPI pgm does not use available cores
Yessica Brinkmann
yessica.brinkmann at gmail.com
Mon May 24 15:58:08 CDT 2010
Hi,
Very thanks for your response and your interest.
I run my code as mpiexec -n 2 -channel nemesis MYMPIPGM.EXE 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 reinstalled the MPICH too and I does not have any errors at the installation.
I will thanks any help.
Yessica Brinkmann
2010/5/24 <jayesh at mcs.anl.gov>:
> Hi,
> I am assuming that this email is related to MPICH2 on windows.
> If you run your code as "mpiexec -n 2 -channel nemesis MYMPIPGM.EXE" (nemesis is the new channel available with MPICH2 - Nemesis will be the default channel in the upcoming 1.3 series) MPICH2 should use both the available processors/cores.
> Let us know the results.
>
> Regards,
> Jayesh
> ============ Original email ===========================
> Hello. I am writing my first program in MPI. 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
>
More information about the mpich-discuss
mailing list