One of the basic functions in MPI is
MPI_COMM_RANK
by calling it the program knows how many tasks are available
call MPI_COMM_RANK(MPI_COMM_WORLD,rank,ierr)
write(",")'the rank is',rank
does it make sense ?
R.
> I have a question about MPI Rank.
> How can MPI Rank determine how many process a computer can have?
>
> A life without knowing anything is not a life at all.
>
> Live your life with your own decision so you will never regret
> what you have done when you look back.
>
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|