free the communication buffer allocated by the fillindexed routine again.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_realbuffer_type), | intent(inout) | :: | me |
subroutine tem_commbuf_real_fintyped(me) ! -------------------------------------------------------------------- ! type(tem_realbuffer_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_real_fintyped') end subroutine tem_commbuf_real_fintyped