Skip to content

Commit

Permalink
more logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 3, 2016
1 parent 8585feb commit b62a9bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clib/pio_put_nc_async.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ int PIOc_put_vars_tc(int ncid, int varid, const PIO_Offset *start, const PIO_Off
vdesc->request = realloc(vdesc->request,
sizeof(int) * (vdesc->nreqs + PIO_REQUEST_ALLOC_CHUNK));
request = vdesc->request+vdesc->nreqs;
LOG((2, "PIOc_put_vars_tc request = %d", vdesc->request));

if(ios->io_rank == 0)
switch(xtype)
Expand Down Expand Up @@ -208,6 +209,7 @@ int PIOc_put_vars_tc(int ncid, int varid, const PIO_Offset *start, const PIO_Off
*request = PIO_REQ_NULL;

vdesc->nreqs++;
LOG((2, "PIOc_put_vars_tc flushing output buffer"));
flush_output_buffer(file, false, 0);
}
#endif /* _PNETCDF */
Expand Down

0 comments on commit b62a9bb

Please sign in to comment.