Commit acbacd96 authored by fisaila's avatar fisaila

Corrected bug in tracing.

git-svn-id: 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 6d2a9cc4
......@@ -976,7 +976,7 @@ ssize_t DARSHAN_DECL(write)(int fd, const void *buf, size_t count)
int rank;
long long int off=0;
PMPI_Comm_rank(MPI_COMM_WORLD, &rank);
off = lseek64(fd,0,1);
off = lseek64(fd,0,SEEK_CUR);
darshan_trace_log_record(rank, epoch_counter, CP_POSIX_WRITES, tm1, tm2, count, 0, off);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment