Directory CCA/Components/LoadBalancers/

Total Files:
23
Deleted Files:
0
Lines of Code:
6406

[root]/CCA/Components/LoadBalancers

Lines of Code

CCA/Components/LoadBalancers/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 96 (100.0%) 1504 (100.0%) 15.6
dav 24 (25.0%) 801 (53.3%) 33.3
harman 31 (32.3%) 631 (42.0%) 20.3
ahumphrey 8 (8.3%) 45 (3.0%) 5.6
jas 33 (34.4%) 27 (1.8%) 0.8

Most Recent Commits

ahumphrey 2015-09-11 14:44 Rev.: 53930

Remove antiquated TAU support.

19 lines of code changed in 6 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (new), LoadBalancerCommon.cc (-3), ParticleLoadBalancer.cc (-3)
harman 2015-09-03 12:48 Rev.: 53906

formatting
- added spaces
- added dividers
- more descriptive debugging output

0 lines of code changed in 2 files:

  • CCA/Components/LoadBalancers: CostModelForecaster.cc (changed)
harman 2015-09-03 12:36 Rev.: 53905

formatting:
- added dividers
- added white spaces and carriage returns.
- added {} around conditionals and iterator loops

113 lines of code changed in 3 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+99 -69), ProfileDriver.cc (new)
harman 2015-09-02 15:54 Rev.: 53899

Removed AG_hack to fix a MPI all gather problem problem on Kraken in 2009:

-// Allgatherv currently performs poorly on Kraken.
-// This hack changes the Allgatherv to an allgather
-// by padding the digits.

This hack was _active_ in the particle loadbalancer.

7 lines of code changed in 3 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+2 -38), ParticleLoadBalancer.cc (+3 -40), ProfileDriver.cc (+2 -36)
harman 2015-09-02 15:08 Rev.: 53897

Formatting:
- added dividers
- added white space and carriage returns.
- added {} in loops and conditionals

119 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: ProfileDriver.cc (+119 -88)
harman 2015-09-02 14:27 Rev.: 53894

Removed zoltan code. It hasn't been used in years and it's just more code to wade through.

2 lines of code changed in 5 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (-261), DynamicLoadBalancer.h (+1 -28), ParticleLoadBalancer.h (+1 -4)
harman 2015-09-01 13:07 Rev.: 53886

Add class name to enum.

3 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: ParticleLoadBalancer.cc (+3 -1)
harman 2015-08-31 15:18 Rev.: 53882

Explicity state the class the enums belong to.

Moved logic statements upstream of the PossiblyDynamicallyReallocate() call. Before the logic was
embedded inside of the call, hard to follow.

29 lines of code changed in 2 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+18 -8), ParticleLoadBalancer.cc (+11 -4)
harman 2015-08-31 15:13 Rev.: 53881

- Added comments
- more descriptive debugging output.


14 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: CostModelForecaster.cc (+14 -10)
harman 2015-08-25 09:20 Rev.: 53854

formatting:
added {}
added vertical and white spaces
alignment.
added dividers

93 lines of code changed in 3 files:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+78 -31), LoadBalancerCommon.h (new)
harman 2015-08-24 17:23 Rev.: 53853

Formatting:
- alignment
- added vertical and white space.

68 lines of code changed in 6 files:

  • CCA/Components/LoadBalancers: CostModelForecaster.cc (+8 -4), CostModelForecaster.h (new), CostModeler.h (new), DynamicLoadBalancer.cc (+6 -1)
harman 2015-08-24 13:49 Rev.: 53852

formatting:
- added dividers
- added {}
- added vertical and horizontal spaces.

183 lines of code changed in 4 files:

  • CCA/Components/LoadBalancers: CostModelForecaster.cc (+126 -84), CostProfiler.cc (+10 -5), DynamicLoadBalancer.cc (+47 -32)
jas 2015-05-28 09:26 Rev.: 53557

Revert c++-11 namespace changes.

2 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+2 -2)
jas 2015-05-27 15:34 Rev.: 53554

Explicit namespace usage as part of the transition to c++-11.

2 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+2 -2)
ahumphrey 2015-03-25 15:37 Rev.: 53305

For now, turn off per level support for maxGhostCells. This will allow the large-scale DDT simulations on Mira to advance using threaded-schedulers. We can revisit this issue when time permits.

18 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+18 -9)
ahumphrey 2015-03-24 14:21 Rev.: 53268

Temp. fix for LoadBalancer bug that was causing AMR MPMICE to hang.
This will enable forward progress with threaded schedulers on the Gordon Bell effort related to Jacqueline's DDT problem.

8 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+8 -4)
dav 2015-02-23 00:21 Rev.: 53131


This is a recommit of the XML memory usage fix commit that was
committed a month ago (at and around ~r52896), but had a few errors
with respect to a handful of tests (AMR/multi-level?) This has passed
the local RT though there are a few tests that are off by 10e-15 or
so.

M CCA/Components/LoadBalancers/LoadBalancerCommon.cc
M CCA/Components/LoadBalancers/LoadBalancerCommon.h

- Combined a number of pieces of the ParticleLoadBalancer and DynamicLoadBalancer
into LoadBalancerCommon.
- The getOldProcessorAssignment() call previously was implemented in the
CCA/Ports/LoadBalancer.h file, but this was confusing as that should just
be an interface. Placed the 'dynamic' version (used by both Particle and
Dynamic Load Balancers) in this file. Simple and SingleProcessor overwrite
with their own simple version.
- addContribution(), finalizeContributions() resetCostForecaster() and
initializeWeights() are now here (not in the Port LoadBalancer.h
interface anymore) and provide a warning that they actually aren't
doing anything when they are not.
- Removed some old code that was there to read in (old) UDA 1.0s.
- Lined up variables, white space, {}, coding standards, etc.

M CCA/Components/LoadBalancers/DynamicLoadBalancer.h
M CCA/Components/LoadBalancers/DynamicLoadBalancer.cc
M CCA/Components/LoadBalancers/ParticleLoadBalancer.h
M CCA/Components/LoadBalancers/ParticleLoadBalancer.cc

- getPatchwiseProcessorAssignment() and getOldProcessorAssignment() moved into
LoadBalancerCommon.
- Marked a number of 'virtual' functions with the virtual key word.

M CCA/Components/LoadBalancers/SimpleLoadBalancer.h
M CCA/Components/LoadBalancers/SimpleLoadBalancer.cc
M CCA/Components/LoadBalancers/SingleProcessorLoadBalancer.h
M CCA/Components/LoadBalancers/SingleProcessorLoadBalancer.cc

- Implemented getOldProcessorAssignment() here so it would be more clear
where this function is implemented (instead of being buried in the Port interface).
- White space.

M CCA/Components/MPM/ImpMPM.cc

- All cosmetic white space / coding standards updates, with the exception of fixing this bloc:

// Pull out from Time section
d_initialDt = 10000.0;
ProblemSpecP time_ps = restart_mat_ps->findBlock("Time");
if( time_ps ) {
time_ps->get("delt_init",d_initialDt);
}

Added the "if( time_ps )" check. The reason this is necessary is that
the "Time" block no longer exists in the restart_mat_ps portion of the
restart problem spec. (This is due to no longer loading the XML DOM.)
In the above (and previous) code, if "delt_init" is not found, then
10000 is used as a default. [Actually, I'm not quite sure why this is
done, or how this was working, but it 'works' the same now as it did
before.]

M CCA/Components/ProblemSpecification/ProblemSpecReader.h
M CCA/Components/ProblemSpecification/ProblemSpecReader.cc

- Added the readInputFile() function that reads and parses the input UPS file
directly, but does not save the XML DOM (this is done because on huge
simulations with 10Ks of patches, the XML DOM was taking 100s of MB of
memory... now we just get the information out of the file that we need
without saving it).

M CCA/Components/Schedulers/DetailedTasks.h

- Fix naming to use our convention (well, one of them, in this case
the trailing '_' for member variables).

M CCA/Components/Schedulers/DetailedTasks.cc

- Fix indentation, white space.
- Using 'using namespace std' for consistency will all our other .cc files.

M CCA/Components/Schedulers/MPIScheduler.cc

- White space, variable line up.

M CCA/Components/Schedulers/OnDemandDataWarehouse.cc

- Removed the non-used parameters from getOldProcessorAssignment().
- White space, variable line up.

M CCA/Components/Schedulers/SchedulerCommon.h

- Pass strings as const & - don't copy.

M CCA/Components/Schedulers/SchedulerCommon.cc

- Use proc0cout instead of separate if.
- Remove tabs.

M CCA/Components/Schedulers/TaskGraph.cc

- Removed the non-used parameters from getOldProcessorAssignment().

M CCA/Components/Schedulers/UnifiedScheduler.cc
M CCA/Components/SimulationController/AMRSimulationController.cc

- White space.

M CCA/Components/SimulationController/SimulationController.cc

- Line up variables, white space, {}s.
- Renamed "restart_prob_spec" as it is now only the portion of the
restart PS that pertains to the component and thus is now named
"restart_prob_spec_for_component".

M CCA/Ports/LoadBalancer.h

- Organize #includes, white space.
- Make all functions in this interface pure virtual so that they will
be implemented 'closer to home'.

M CCA/Ports/Scheduler.h

- Line up variables, white space, pass strings as const &.

M Core/Containers/HashTable.h

- Move "first()" call into constructor as everywhere in the code when
ever one of these was created, first() was immediately called.

M Core/DataArchive/DataArchive.h

- No longer creating the giant (for 10K+ patches) XML DOM objects.
Instead, parse them directly for the information needed and pass
that around.
- Pass strings as const &.
- White space, capitalization, line up variables, {}s, etc.
- More passing const variables as const.
- d_tsindex becomes the more readable d_ts_index, etc.
- DataArchive needs the Load Balancer now in order to know where patches belong.

M Core/DataArchive/DataArchive.cc

- Organize #includes.
- White space, etc.
- Add UPS file parsing codes for parsing as we stream through the file.
- UDAs (the xml) are actually read in in several phases. Previously because
they were read into an XML DOM data structure, we just passed that around
and it didn't make a difference. Now we have to be smarter about what
is read when.
- Fix the outputting of restart UPS files (previously the old restart information
was lost).
- Renamed variable Url to Filename as that is what it is.

M Core/Grid/Variables/ComputeSet.h

- Fix spacing.

M Core/ProblemSpec/ProblemSpec.h
M Core/ProblemSpec/ProblemSpec.cc

- Added XML parsing via streaming file functions.
- Fix spacing.
- Added constructor that will create a ProblemSpec from data in a buffer.
- This is used when we parse an input UPS file and need (small) parts
of it still as an UPS file (eg, to be passed down to a component
so that we don't have to change component code at this point).

M StandAlone/compare_uda.cc
M StandAlone/tools/compute_Lnorm_udas.cc

- Due to extra linking requirements, we need to init the Uintah Parallel
library before running (even if the initialization just tells the
library that it is not running under MPI) using these calls:

Uintah::Parallel::determineIfRunningUnderMPI( argc, argv );
Uintah::Parallel::initializeManager(argc, argv);

- Fix #includes.
- Coding standard updates.

M StandAlone/sus.cc

- Space out the exception handling to make the code easier to follow.

211 lines of code changed in 14 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (-39), DynamicLoadBalancer.h (+5 -7), LoadBalancerCommon.cc (+158 -106), LoadBalancerCommon.h (+20 -2), ParticleLoadBalancer.cc (-37), ParticleLoadBalancer.h (+1 -3), SimpleLoadBalancer.cc (+10 -7), SimpleLoadBalancer.h (new), SingleProcessorLoadBalancer.cc (new), SingleProcessorLoadBalancer.h (+4)
dav 2015-02-10 17:24 Rev.: 53098


More incremental updates to get the code ready for the XML memory fix.
These changes have passed the optimized localRT, but the debug version was throwing
strange errors due to a newer compiler having bad interactions with sci malloc.
I'm currently running a work-around on those and if the debug build displayes
real problems, I'll back these changes out.

M CCA/Components/LoadBalancers/DynamicLoadBalancer.cc
M CCA/Components/LoadBalancers/DynamicLoadBalancer.h
M CCA/Components/LoadBalancers/LoadBalancerCommon.cc
M CCA/Components/LoadBalancers/LoadBalancerCommon.h
M CCA/Components/LoadBalancers/ParticleLoadBalancer.cc
M CCA/Components/LoadBalancers/ParticleLoadBalancer.h

Consolidated a lot of duplicate code from ParticleLoadBalancer and DynamicLoadBalancer and put it into
the LoadBalancerCommon. For example, restartInitialize() and useSFC() were both duplicate code. There
are probably others routines/variables that could be consolidated.

Note, the #define SFC_PARALLEL was turned on in Particle LB, but not Dynamic LB, so not sure which one
is 'correct'. I do note that it does change the answers (slightly) for the Arches RT tests.

Some code clean ups, alphabetize #includes, use "d_" for class variables, etc.

M CCA/Ports/LoadBalancer.h

- Made restartInitialize 'port' purely virtual so it has to be implemented... before, an 'empty' version could be called
causing confusion on what was actually happening.

M CCA/Ports/SFC.h

- Code layout/cosmetic update.

M Core/DataArchive/DataArchive.cc

326 lines of code changed in 6 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+11 -265), DynamicLoadBalancer.h (+3 -31), LoadBalancerCommon.cc (+262 -3), LoadBalancerCommon.h (+36 -3), ParticleLoadBalancer.cc (+11 -278), ParticleLoadBalancer.h (+3 -33)
dav 2015-02-03 18:22 Rev.: 53073


Smaller commits to get ready for re-commit of (xml) memory use fix to come in the near future.
Mostly all costmetic fixes in this commit.

M CCA/Components/LoadBalancers/LoadBalancerCommon.cc
M CCA/Components/LoadBalancers/DynamicLoadBalancer.cc
M CCA/Components/LoadBalancers/DynamicLoadBalancer.h
M CCA/Components/LoadBalancers/ParticleLoadBalancer.cc

- Alphabetize #includes. Coding standards cosmetic updates. Remove tabs. Line up variables.
- Interesting note, the AG_HACK is turned on in one load balancer, but not the other.

M Core/OS/Dir.h
M Core/OS/Dir.cc
M Core/OS/Dir_boost.cc

- Mostly cosmetic updates, but also added 'const' to functions that do not change class data.


264 lines of code changed in 4 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+185 -177), DynamicLoadBalancer.h (+27 -23), LoadBalancerCommon.cc (+18 -11), ParticleLoadBalancer.cc (+34 -27)
jas 2015-01-26 12:34 Rev.: 53023

Made the following changes:

1. Compress large xml files. Remove sus log.

2. Add Changelog.

3. Add instructions for adding a new component to the build system.

4. Update OSX build in install documentation.

5. Update petsc version in install documentation.

6. Change Petsc version.

7. Remove references to Teem in installation. Remove the build directory
after creating the tarball for the release.

8. Remove Tracker feature.

9. Remove AIX references. Remove Basis/. Remove Teem. Remove sci_defs
include files related to SCIRun.

10. Remove old build dependency versions.

11. Add wasatch_3P 1.6.0 branch.

12. Remove bench.config file, update excludes when building release tar ball.

13. Remove *.orig and *.release files.

14. Update copyright date. Update version to 1.6.

23 lines of code changed in 31 files:

  • CCA/Components/LoadBalancers: CostForecasterBase.h (new), CostModelForecaster.cc (+1 -1), CostModelForecaster.h (+1 -1), CostModeler.h (+1 -1), CostProfiler.cc (+1 -1), CostProfiler.h (new), DynamicLoadBalancer.cc (+1 -1), DynamicLoadBalancer.h (+1 -1), LoadBalancerCommon.cc (+1 -1), LoadBalancerCommon.h (+1 -1), LoadBalancerFactory.cc (+1 -1), LoadBalancerFactory.h (+1 -1), ParticleLoadBalancer.cc (+1 -1), ParticleLoadBalancer.h (+1 -1), ProfileDriver.cc (+1 -1), ProfileDriver.h (+1 -1), RoundRobinLoadBalancer.cc (new), RoundRobinLoadBalancer.h (new), SimpleLoadBalancer.cc (+1 -1), SimpleLoadBalancer.h (+1 -1), SingleProcessorLoadBalancer.cc (+1 -1), SingleProcessorLoadBalancer.h (+1 -1), sub.mk (+1 -1)
Generated by StatSVN 0.7.0