From e431c9258c8eeefaa56aee84f343adc6d43719ff Mon Sep 17 00:00:00 2001 From: carns Date: Tue, 17 May 2011 14:01:13 +0000 Subject: [PATCH] remove extraneous call to MPI_File_set_size() git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@444 3b7491f3-a168-0410-bf4b-c445ed680a29 --- lib/darshan-mpi-io.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/darshan-mpi-io.c b/lib/darshan-mpi-io.c index 1ff74c2..c0319b4 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); -- 2.26.2