initialise_requests Subroutine

public subroutine initialise_requests(requests)

A Routine to initialise request arrays properly so they can have null requests in them and still work problems with waitall and waitany

Arguments

Type IntentOptional Attributes Name
integer, intent(inout), dimension(:) :: requests

Contents

Source Code


Source Code

  subroutine initialise_requests(requests)
    implicit none
    integer, dimension(:), intent(inout) :: requests
    requests = mp_request_null
  end subroutine initialise_requests