Commit 1cabcbf9 authored by Philip Carns's avatar Philip Carns
Browse files

add environment variable to optionally disable shared file reduction

git-svn-id: 3b7491f3-a168-0410-bf4b-c445ed680a29
parent e0a2289b
......@@ -22,6 +22,8 @@ darshan-2.2.9-pre1
- Update documentation to clarify the interaction between rpath and
LD_PRELOAD when instrumenting dynamic libraries, issue reported and
investigated by Davide Del Vento.
- Ability to disable shared-file reduction by setting the
......@@ -410,4 +410,8 @@ behavior at runtime:
* DARSHAN_DISABLE_TIMING: disables the subset of Darshan instrumentation that gathers timing information
* DARSHAN_MEMALIGN: specifies a value for memory alignment (CP_MEM_ALIGNMENT)
* DARSHAN_JOBID: specifies the name of the environment variable to use for the job identifier, such as PBS_JOBID
* DARSHAN_DISABLE_SHARED_REDUCTION: disables the step in Darshan aggregation
in which files that were accessed by all ranks are collapsed into a single
cumulative file record at rank 0. This option retains more per-process
information at the expense of creating larger log files.
......@@ -531,8 +531,15 @@ void darshan_shutdown(int timing_flag)
/* reduce records for shared files */
red1 = DARSHAN_MPI_CALL(PMPI_Wtime)();
local_ret = cp_log_reduction(final_job, rank, logfile_name,
local_ret = 0;
local_ret = cp_log_reduction(final_job, rank, logfile_name,
red2 = DARSHAN_MPI_CALL(PMPI_Wtime)();
DARSHAN_MPI_CALL(PMPI_Allreduce)(&local_ret, &all_ret, 1, MPI_INT, MPI_LOR,
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