diff --git a/lib/darshan-mpi-io.c b/lib/darshan-mpi-io.c index 1ff74c2d4fd7a53214d0999b45eceebb4cdf7383..c0319b4584309d8a56ff6a238bc3574774cc9d67 100644 --- a/lib/darshan-mpi-io.c +++ b/lib/darshan-mpi-io.c @@ -1900,9 +1900,7 @@ static int cp_log_write(struct darshan_job_runtime* final_job, int rank, DARSHAN_MPI_CALL(PMPI_Type_free)(&mtype); return(-1); } - - DARSHAN_MPI_CALL(PMPI_File_set_size)(fh, 0); - + /* figure out where everyone is writing */ if(count > 0) DARSHAN_MPI_CALL(PMPI_Type_size)(mtype, &my_total);