Skip to content

Commit

Permalink
Merge pull request ESMCI#1468 from NCAR/ejh_memcheck_removal
Browse files Browse the repository at this point in the history
removed home-rolled memory checking code
  • Loading branch information
edhartnett authored Jun 5, 2019
2 parents ba3e18d + 3a4af14 commit 56cd15b
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 56cd15b

Please sign in to comment.