Commit efa0817f authored by Philip Carns's avatar Philip Carns

bug fix

parent c2b3b6ec
...@@ -283,20 +283,23 @@ static int darshan_psx_io_workload_load(const char *params, int app_id, int rank ...@@ -283,20 +283,23 @@ static int darshan_psx_io_workload_load(const char *params, int app_id, int rank
} }
/* if we fall through to here, that means that an mpiio record is present if(!dur_cur)
* for which there is no exact match in the posix records. This {
* could (for example) happen if mpiio was using deferred opens, /* if we fall through to here, that means that an mpiio record is present
* producing a shared record in mpi and unique records in posix. Or * for which there is no exact match in the posix records. This
* if mpiio is using a non-posix back end. Or if we skip the posix * could (for example) happen if mpiio was using deferred opens,
* records because the app issued a stat() on every rank but only * producing a shared record in mpi and unique records in posix. Or
* did I/O on a subset. * if mpiio is using a non-posix back end. Or if we skip the posix
*/ * records because the app issued a stat() on every rank but only
dur_new = calloc(1, sizeof(*dur_new)); * did I/O on a subset.
assert(dur_new); */
dur_new = calloc(1, sizeof(*dur_new));
assert(dur_new);
dur_new->mpiio_file_rec = *mpiio_file_rec; dur_new->mpiio_file_rec = *mpiio_file_rec;
dur_new->next = dur_head; dur_new->next = dur_head;
dur_head = dur_new; dur_head = dur_new;
}
} }
/* file records have all been retrieved from darshan log. Now we loop /* file records have all been retrieved from darshan log. Now we loop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment