Commit 14d74690 authored by Shane Snyder's avatar Shane Snyder
Browse files

bug fix in logic for shared file reductions

Fixes 288
parent efc8c429
......@@ -602,7 +602,7 @@ void darshan_core_shutdown()
}
/* allow the module an opportunity to reduce shared files */
if(this_mod->mod_funcs.mod_redux_func && (mod_shared_recs > 0) &&
if(this_mod->mod_funcs.mod_redux_func && (mod_shared_rec_cnt > 0) &&
(!getenv("DARSHAN_DISABLE_SHARED_REDUCTION")))
this_mod->mod_funcs.mod_redux_func(mod_buf, final_core->mpi_comm,
mod_shared_recs, mod_shared_rec_cnt);
......
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