set_rank Subroutine

public subroutine set_rank(rank)

Utility function to set the rank of an MPI process.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: rank

Desired rank identification.


Source Code

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