[mpich-discuss] MPI pgm does not use available cores

jayesh at mcs.anl.gov jayesh at mcs.anl.gov
Mon May 24 10:25:49 CDT 2010


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