Skip to content

Commit

Permalink
further test development
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 28, 2020
1 parent a54de42 commit f114fbc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/unit/ftst_vars.F90
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ program ftst_vars
call MPI_Init(ierr)
call MPI_Comm_rank(MPI_COMM_WORLD, my_rank, ierr)
call MPI_Comm_size(MPI_COMM_WORLD, ntasks , ierr)


#ifdef _NETCDF4
if (my_rank .eq. 0) print *,'Testing variables...'

! Initialize PIO.
Expand Down Expand Up @@ -53,7 +54,9 @@ program ftst_vars

! Open the file.
ret_val = PIO_openfile(pio_iosystem, pio_file, iotype, filename, PIO_nowrite)
if (ierr .ne. PIO_NOERR) stop 3
if (ierr .ne. PIO_NOERR) stop 23

! Find var chunksizes.

! Close the file.
call PIO_closefile(pio_file)
Expand All @@ -62,5 +65,6 @@ program ftst_vars
call PIO_finalize(pio_iosystem, ierr)

if (my_rank .eq. 0) print *,'SUCCESS!'
#endif
call MPI_Finalize(ierr)
end program ftst_vars

0 comments on commit f114fbc

Please sign in to comment.