[Mpi-forum] I can not make MPI recognizes a dual core

Yessica Brinkmann yessica.brinkmann at gmail.com
Thu May 20 22:11:04 CDT 2010


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 mpi-forum mailing list