Skip to content

Commit

Permalink
removed home-rolled memory checking code
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 4, 2019
1 parent ba3e18d commit 3a4af14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions src/flib/piodarray.F90.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ module piodarray

character(len=*), parameter, private :: modName='piodarray'

#ifdef MEMCHK
integer :: msize, rss, mshare, mtext, mstack, lastrss=0
#endif

interface
integer(C_INT) function PIOc_write_darray(ncid, vid, ioid, arraylen, array, fillvalue) &
bind(C,name="PIOc_write_darray")
Expand Down
8 changes: 0 additions & 8 deletions src/flib/piolib_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ module piolib_mod
PIO_iotype_available, &
PIO_set_rearr_opts

#ifdef MEMCHK
!> this is an internal variable for memory leak debugging
!! it is used when macro memchk is defined and it causes each task to print the
!! memory resident set size anytime it changes within pio.
!<
integer :: lastrss=0
#endif

!-----------------------------------------------------------------------
!
! module variables
Expand Down

0 comments on commit 3a4af14

Please sign in to comment.