LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Carine Castillon (carine.castillon_at_[hidden])
Date: 2004-10-11 02:40:26


Hello,

I am beginner in mpi programming and I have a question about mpi_comm_size.
I am writing my first mpi program, the famous "Hello World", but when I
execute it on a bi-processor, mpi_comm_size displays only one processor.

Here is the programming line of mpi_size_comm :
        MPI_Comm_size(MPI_COMM_WORLD, &p);

Can you tell me why mpi_comm_size doesn't display two processors ?

thanks in advance ofr your answer.

Have a good day,

Carine.