Release all buffers
SUBROUTINE buffers_release() !! Release all buffers IF (request_sync_mult .NE. mp_request_null) CALL mp_wait(request_sync_mult) request_sync_mult = mp_request_null CALL buffer_release(buffers_1%right) CALL buffer_release(buffers_1%left) CALL buffer_release(buffers_2%right) CALL buffer_release(buffers_2%left) CALL buffer_release(buffers_win%right) CALL buffer_release(buffers_win%left) ! IF (dbcsr_data_valid(make_buffers_data_send)) CALL dbcsr_data_release(make_buffers_data_send) IF (dbcsr_data_valid(make_buffers_data_recv)) CALL dbcsr_data_release(make_buffers_data_recv) IF (ASSOCIATED(make_buffers_meta_send)) CALL memory_deallocate(make_buffers_meta_send, memtype_mpi_buffer) IF (ASSOCIATED(make_buffers_meta_recv)) CALL memory_deallocate(make_buffers_meta_recv, memtype_mpi_buffer) END SUBROUTINE buffers_release