set_rank Subroutine

public subroutine set_rank(rank)

Utility function to set the rank of an MPI process.

Arguments

Type IntentOptional Attributes Name
integer :: rank

Desired rank identification.


Source Code

   subroutine set_rank(rank)
      !! Utility function to set the rank of an MPI process.
      integer :: rank
      !! Desired rank identification.
      nid = rank
   end subroutine set_rank