Opened 10 years ago
Last modified 10 years ago
#691 closed defect
Added deallocation of work array in distribute.F — at Initial Version
| Reported by: | arango | Owned by: | arango |
|---|---|---|---|
| Priority: | major | Milestone: | Release ROMS/TOMS 3.7 |
| Component: | Nonlinear | Version: | 3.7 |
| Keywords: | Cc: |
Description
We need add deallocation of communication array Arec in routine mp_scatter_state of distribute.F:
!
! Deallocate receive buffer.
!
IF (allocated(Arecv).and.(MyRank.eq.MyMaster)) THEN
deallocate (Arecv)
END IF
The mp_scatter_state is not currently used in ROMS. So this memory leak doesn't affect the ROMS MPI communications.
Note:
See TracTickets
for help on using tickets.
