Skip to content

Commit

Permalink
more log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 8, 2016
1 parent 70238ae commit f845325
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/clib/pio_put_nc_async.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ int PIOc_put_vars_tc(int ncid, int varid, const PIO_Offset *start, const PIO_Off

if(ios->io_rank == 0)
{
LOG((2, "PIOc_put_vars_tc io_rank 0 doing pnetcdf call"));
LOG((2, "PIOc_put_vars_tc io_rank 0 doing pnetcdf call xtype = %d", xtype));
switch(xtype)
{
case NC_BYTE:
Expand All @@ -192,7 +192,8 @@ int PIOc_put_vars_tc(int ncid, int varid, const PIO_Offset *start, const PIO_Off
ierr = ncmpi_bput_vars_short(ncid, varid, start, count, stride, buf, request);
break;
case NC_INT:
LOG((2, "PIOc_put_vars_tc io_rank 0 doing pnetcdf for int"));
LOG((2, "PIOc_put_vars_tc io_rank 0 doing pnetcdf for int"));
sleep(1);
ierr = ncmpi_bput_vars_int(ncid, varid, start, count, stride, buf, request);
LOG((2, "PIOc_put_vars_tc io_rank 0 done with pnetcdf call for int ierr = %d", ierr));
break;
Expand Down

0 comments on commit f845325

Please sign in to comment.