[root]/CCA/Components/ReduceUda
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 18 (100.0%) | 736 (100.0%) | 40.8 |
harman | 15 (83.3%) | 699 (95.0%) | 46.6 |
dav | 3 (16.7%) | 37 (5.0%) | 12.3 |
DataArchive:reduceUda_ReadUda()
-added logic to ignore a variable if a process doesn't own the patch
that the variable resides on.
3 lines of code changed in 2 files:
All variables that do not change and member functions that do not
change class data should be made const. In this checkin, a number of
things passed into the Schedulers can be made const (the 'output' port
variable is the main one here).
Made a number of minor cleanups including whitespace, tab removal,
coding standard, etc.
M CCA/Components/DataArchiver/DataArchiver.h
- Clean up layout of functions.
- Make const all functions that don't chance the class' data.
- Remove superfluous ;s.
M CCA/Components/DataArchiver/DataArchiver.cc
- Add const to functions updated in .h file.
- Minor coding standard, white space, readability cleanups.
M CCA/Components/ReduceUda/UdaReducer.h
M CCA/Components/ReduceUda/UdaReducer.cc
- Line up variables for better readability.
- Pass strings as 'const &', instead of copying them.
M CCA/Components/Schedulers/SchedulerFactory.h
M CCA/Components/Schedulers/SchedulerFactory.cc
M CCA/Components/Schedulers/DynamicMPIScheduler.h
M CCA/Components/Schedulers/DynamicMPIScheduler.cc
M CCA/Components/Schedulers/SingleProcessorScheduler.h
M CCA/Components/Schedulers/SingleProcessorScheduler.cc
M CCA/Components/Schedulers/UnifiedScheduler.h
M CCA/Components/Schedulers/UnifiedScheduler.cc
M CCA/Components/Schedulers/MPIScheduler.h
M CCA/Components/Schedulers/MPIScheduler.cc
M CCA/Components/Schedulers/MessageLog.h
M CCA/Components/Schedulers/MessageLog.cc
M CCA/Components/Schedulers/SchedulerCommon.h
M CCA/Components/Schedulers/SchedulerCommon.cc
- Pass 'Output' port variable as const as it is not used to change the output.
- Line up variables for better readability, add some white space, remove spurious tabs.
M CCA/Ports/Output.h
- Add 'const' to all functions that don't change the class' data.
- White space / Readability
M StandAlone/sus.cc
- Clarify MAX_THREADS error message.
- It is unclear to me how the specification of number of threads and
<scheduler> work together... ie which one gets precedence. When I
figure it out, I will fix this further.
37 lines of code changed in 3 files:
fixed memory corruption issue.
remove stale comments
7 lines of code changed in 1 file:
- Removed global variables that weren't being used and being deleted in the destructor
- added stub functions
- fixed typo
8 lines of code changed in 2 files:
DataArchiver.cc
- reduceUdaSetup()
set d_outputInitTimestep = true;
DataArchive.cc/.h
- changed createdVarLabels_ -> d_createdVarLabels
- added method reduceUda_ReadUda(). This is a specialization of restartInitialize()
and is used by reduceUda to read variables from the uda and put them into the
DW.
UdaReducer.cc/h
- more descriptive task name computeLabels -> readDataArchive.
* Now works on bigger udas and a smaller number of procs.
27 lines of code changed in 2 files:
DataArchiver.cc
reduceUdaSetup()
- use Dir::copy() instead of copyFile(). On large machines (mira)
only a subset of system calls are available. The work around is to use Dir::copy()
and enable boost.
UdaReducer.cc
- added addtional user warning about configuring with boost.
3 lines of code changed in 1 file:
reduceUda:
- only copy checkpoint directories if they exist.
- added warning. Only only 1 core is used
during the copy and it could be really slow on big checkpoint directories.
3 lines of code changed in 1 file:
Updated warning message and added a comment on how to add a hack that would
allow the user to process an uda that contains timesteps
that have a different number of variables per timestep.
29 lines of code changed in 1 file:
More housekeeping
renamed directory PatchComber -> ReduceUda
619 lines of code changed in 5 files: