Utility function to get the rank of the current MPI process.
pure integer function get_rank() result(rank) !! Utility function to get the rank of the current MPI process. rank = nid end function get_rank