Skip to content

Commit

Permalink
Merge pull request #254 from NOAA-GSD/ejh_test
Browse files Browse the repository at this point in the history
commented out cache value test because it doesnt work on parallel
  • Loading branch information
WardF authored May 7, 2020
2 parents 8b4359d + 6a60d92 commit 8d2daf3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions nf03_test4/f90tst_vars2.f90
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,14 @@ program f90tst_vars2
if (chunksizes_in(1) /= chunksizes(1) .or. chunksizes_in(2) /= chunksizes(2)) &
stop 4
if (endianness_in .ne. nf90_endian_big) stop 5
if (cache_size_in .ne. 16 .or. cache_nelems_in .ne. 4133 .or. &
cache_preemption .ne. CACHE_PREEMPTION) stop 555

! This test code commented out because it fails parallel builds,
! which don't use the cache, so don't get the same size
! settings. Since we are not (yet) using a preprocessor on the
! fortran code, there's no way to ifdef out these tests.
! print *, cache_size_in, cache_nelems_in, cache_preemption
! if (cache_size_in .ne. 16 .or. cache_nelems_in .ne. 4133 .or. &
! cache_preemption .ne. CACHE_PREEMPTION) stop 555

! Check variable 2.
call check(nf90_inquire_variable(ncid, varid2_in, name_in, xtype_in, ndims_in, dimids_in, &
Expand Down

0 comments on commit 8d2daf3

Please sign in to comment.