next up previous contents index
Next: Function decode_mpi_error Up: Module mpi_module Previous: Usage   Contents   Index

Subroutine get_mpi_size_rank


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call get_mpi_size_rank(comm,nproc,rank)\end{verbatim}
\end{boxedminipage}

Return the mpi size and rank for the communicator comm. this routine aborts of _MPI is not defined

comm -- integer, intent(in)

MPI communicator

nproc -- integer, intent(out)

Total number of processes

rank -- integer, intent(out)

Rank of this process

decode_mpi_error function

gabor 2009-06-30