Commit 7e0aa8d4 authored by Shane Snyder's avatar Shane Snyder
Browse files

remove version field from apmpi header

parent d90b6875
...@@ -238,7 +238,6 @@ struct darshan_apmpi_header_record ...@@ -238,7 +238,6 @@ struct darshan_apmpi_header_record
{ {
struct darshan_base_record base_rec; struct darshan_base_record base_rec;
int64_t magic; int64_t magic;
uint32_t version;
uint32_t sync_flag; uint32_t sync_flag;
double apmpi_f_variance_total_mpitime; double apmpi_f_variance_total_mpitime;
double apmpi_f_variance_total_mpisynctime; double apmpi_f_variance_total_mpisynctime;
......
...@@ -404,7 +404,6 @@ static void apmpi_runtime_initialize() ...@@ -404,7 +404,6 @@ static void apmpi_runtime_initialize()
#else #else
apmpi_runtime->header_record->sync_flag = 0; apmpi_runtime->header_record->sync_flag = 0;
#endif #endif
apmpi_runtime->header_record->version = APMPI_VER;
} }
apmpi_runtime->rec_id = darshan_core_gen_record_id("APMPI"); //record name apmpi_runtime->rec_id = darshan_core_gen_record_id("APMPI"); //record name
......
...@@ -19,7 +19,6 @@ struct darshan_apmpi_header_record ...@@ -19,7 +19,6 @@ struct darshan_apmpi_header_record
{ {
struct darshan_base_record base_rec; struct darshan_base_record base_rec;
int64_t magic; int64_t magic;
uint32_t version;
uint32_t sync_flag; uint32_t sync_flag;
double apmpi_f_variance_total_mpitime; double apmpi_f_variance_total_mpitime;
double apmpi_f_variance_total_mpisynctime; double apmpi_f_variance_total_mpisynctime;
...@@ -56,7 +55,6 @@ def log_get_apmpi_record(log, mod_type, dtype='dict'): ...@@ -56,7 +55,6 @@ def log_get_apmpi_record(log, mod_type, dtype='dict'):
rec['rank'] = hdr[0].base_rec.rank rec['rank'] = hdr[0].base_rec.rank
rec['magic'] = hdr[0].magic rec['magic'] = hdr[0].magic
rec['sync_flag'] = hdr[0].sync_flag rec['sync_flag'] = hdr[0].sync_flag
rec['version'] = hdr[0].version
rec['variance_total_mpitime'] = hdr[0].apmpi_f_variance_total_mpitime rec['variance_total_mpitime'] = hdr[0].apmpi_f_variance_total_mpitime
rec['variance_total_mpisynctime'] = hdr[0].apmpi_f_variance_total_mpisynctime rec['variance_total_mpisynctime'] = hdr[0].apmpi_f_variance_total_mpisynctime
else: else:
......
...@@ -134,7 +134,6 @@ static int darshan_log_get_apmpi_rec(darshan_fd fd, void** buf_p) ...@@ -134,7 +134,6 @@ static int darshan_log_get_apmpi_rec(darshan_fd fd, void** buf_p)
DARSHAN_BSWAP64(&(hdr_rec->base_rec.id)); DARSHAN_BSWAP64(&(hdr_rec->base_rec.id));
DARSHAN_BSWAP64(&(hdr_rec->base_rec.rank)); DARSHAN_BSWAP64(&(hdr_rec->base_rec.rank));
DARSHAN_BSWAP64(&(hdr_rec->magic)); DARSHAN_BSWAP64(&(hdr_rec->magic));
DARSHAN_BSWAP32(&(hdr_rec->version));
DARSHAN_BSWAP32(&(hdr_rec->sync_flag)); DARSHAN_BSWAP32(&(hdr_rec->sync_flag));
DARSHAN_BSWAP64(&(hdr_rec->apmpi_f_variance_total_mpitime)); DARSHAN_BSWAP64(&(hdr_rec->apmpi_f_variance_total_mpitime));
DARSHAN_BSWAP64(&(hdr_rec->apmpi_f_variance_total_mpisynctime)); DARSHAN_BSWAP64(&(hdr_rec->apmpi_f_variance_total_mpisynctime));
......
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