#include <stdio.h> #include "mpe.h" void CLOG_mergelogs( shift, execfilename, logtype ) int shift; char *execfilename; int logtype;first argument says whether to do time-shifiting or notsecond arg is filename
On process 0 in MPI_COMM_WORLD, collect logs from other processes and mergethem with own log. Timestamps are assumed to be already adjusted on bothincoming logs and the master's. On the other processes, fill in length andprocess id's and send them, a block at a time, to the master. The masterwrites out the merged log.
Location:clog_merge.c