free the communication buffer allocated by the fillmpimem routine again.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_longbuffer_type), | intent(inout) | :: | me |
subroutine tem_commbuf_long_finmpimem(me) ! -------------------------------------------------------------------- ! type(tem_longbuffer_type), intent(inout) :: me ! -------------------------------------------------------------------- ! me%nvals = 0 if ( allocated(me%pos) ) deallocate(me%pos) if ( associated(me%val) ) then nullify(me%val) call free_mpif_mem(me%mem_mpi) end if end subroutine tem_commbuf_long_finmpimem