Opened 8 years ago

Closed 8 years ago

#691 closed defect (Fixed)

Added deallocation of work array in distribute.F

Reported by: arango Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.7
Component: Nonlinear Version: 3.7
Keywords: Cc:

Description (last modified by arango)

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.

Also corrected an information type in def_rst.F.

Change History (1)

comment:1 by arango, 8 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed
Type: bugdefect
Note: See TracTickets for help on using tickets.