if (master_task) write(*,"(3x,A,1x)", advance="no") "testing PIO netCDF-4 functions..."
!! @brief The driver for PIO unit tests
Program pio_unit_test_driver
character(len=str_len) :: err_msg
integer :: fail_cnt, test_cnt, ios, test_id, ierr, test_val
logical :: ltest_netcdf, ltest_pnetcdf
logical :: ltest_netcdf4p, ltest_netcdf4c
namelist/piotest_nml/ ltest_netcdf, &
#if defined( _NETCDF4) && defined(LOGGING)
integer, external :: nc_set_log_level2
call MPI_Comm_rank(MPI_COMM_WORLD, my_rank, ierr)
call MPI_Comm_size(MPI_COMM_WORLD, ntasks , ierr)
!! call MPI_Errhandler_set(MPI_COMM_WORLD, MPI_ERRORS_RETURN, ierr)
master_task = my_rank.eq.0
open(615, file="input.nl")
read(615, nml=piotest_nml, iostat=ios)
print*, "ERROR reading input.nl, exiting!"