Skip to content

Commit e066187

Browse files
committed
chunk: fix printing expected number of records
1 parent eeb6dfc commit e066187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/C/chunk_2D.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ compress(MPI_Comm comm, char *filename, int cmode)
266266
PNC_ERR("ncmpi_inq_dimlen")
267267
if (verbose && rank == 0)
268268
printf("Time dimension length (expect %lld) and got %lld\n",
269-
NTIMES * nprocs, dim_len);
269+
NTIMES, dim_len);
270270

271271
err = ncmpi_close(ncid);
272272
PNC_ERR("ncmpi_close")

0 commit comments

Comments
 (0)