free the communication buffer allocated by the fillindexed routine again.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_longbuffer_type), | intent(inout) | :: | me |
subroutine tem_commbuf_long_fintyped(me)
! -------------------------------------------------------------------- !
type(tem_longbuffer_type), intent(inout) :: me
! -------------------------------------------------------------------- !
integer :: ierror
! -------------------------------------------------------------------- !
me%nvals = 0
call mpi_type_free(me%memindexed, ierror)
call check_mpi_error(ierror,'free memindexed in tem_commbuf_long_fintyped')
end subroutine tem_commbuf_long_fintyped