Skip to content

Commit

Permalink
fixed warnings in pio_decomp_tests_2d.F90.in
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 25, 2019
1 parent 32aaa7b commit 3537624
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/general/pio_decomp_tests_2d.F90.in
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ PIO_TF_AUTO_TEST_SUB_BEGIN nc_write_read_2d_col_decomp
PIO_TF_FC_DATA_TYPE, dimension(:,:), allocatable :: rbuf, wbuf, exp_val
integer, dimension(NDIMS) :: dims
integer, dimension(NDIMS) :: pio_dims
integer :: i, j, tmp_idx, ierr, lsz, nrows, ncols
integer :: i, j, tmp_idx, ierr, nrows, ncols
! iotypes = valid io types
integer, dimension(:), allocatable :: iotypes
character(len=PIO_TF_MAX_STR_LEN), dimension(:), allocatable :: iotype_descs
Expand All @@ -184,7 +184,7 @@ PIO_TF_AUTO_TEST_SUB_BEGIN nc_write_read_2d_col_decomp
do i=1,nrows
wbuf(i,j) = (start(2) - 1 + j - 1) * nrows + i
tmp_idx = (j - 1) * nrows + i
compdof(tmp_idx) = wbuf(i,j)
compdof(tmp_idx) = int(wbuf(i,j))
end do
end do

Expand Down Expand Up @@ -274,7 +274,7 @@ PIO_TF_AUTO_TEST_SUB_BEGIN nc_write_read_2d_row_decomp
PIO_TF_FC_DATA_TYPE, dimension(:,:), allocatable :: rbuf, wbuf, exp_val
integer, dimension(NDIMS) :: dims
integer, dimension(NDIMS) :: pio_dims
integer :: i, j, tmp_idx, ierr, lsz, nrows, ncols
integer :: i, j, tmp_idx, ierr, nrows, ncols
! iotypes = valid io types
integer, dimension(:), allocatable :: iotypes
character(len=PIO_TF_MAX_STR_LEN), dimension(:), allocatable :: iotype_descs
Expand All @@ -291,7 +291,7 @@ PIO_TF_AUTO_TEST_SUB_BEGIN nc_write_read_2d_row_decomp
do i=1,nrows
wbuf(i,j) = (start(2) - 1 + j - 1) * dims(1) + start(1) + i - 1
tmp_idx = (j - 1) * nrows + i
compdof(tmp_idx) = wbuf(i,j)
compdof(tmp_idx) = int(wbuf(i,j))
end do
end do

Expand Down

0 comments on commit 3537624

Please sign in to comment.