Directory CCA/Components/LoadBalancers/

Total Files:
21
Deleted Files:
0
Lines of Code:
6052

[root]/CCA/Components/LoadBalancers

Lines of Code

CCA/Components/LoadBalancers/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 97 (100.0%) 635 (100.0%) 6.5
allen 43 (44.3%) 337 (53.1%) 7.8
ahumphrey 17 (17.5%) 193 (30.4%) 11.3
jholmen 1 (1.0%) 44 (6.9%) 44.0
dav 3 (3.1%) 40 (6.3%) 13.3
jas 33 (34.0%) 21 (3.3%) 0.6

Most Recent Commits

ahumphrey 2018-12-11 18:17 Rev.: 59059

Generalize the concept of a task graph having tasks with "distal" halo requirements, meaning the number, order, and appearance of TGs with distal requires is arbitrary. This is a much more robust way to determine distal neighborhood creation, etc. Prior to this, the code was quite brittle, depending on the distal TG being last in the order.

6 lines of code changed in 2 files:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.h (new)
ahumphrey 2018-12-10 17:48 Rev.: 59048

* Fix RMCRT memory bloat.

* Move from referenceing SHRT_MAX to "req->m_num_ghost_cells >= MAX_HALO_DEPTH"

* Fix unitialized vars.

12 lines of code changed in 2 files:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+12 -10)
ahumphrey 2018-12-03 13:51 Rev.: 58985

* Brace initializers for POD and pointer_type class members.

* cbegin() and/or cend() for const_iterators, especially for methods that return a const_iterator, e.g., Level::const_patch_iterator Level::patchesBegin() const.

* Use prefix ++ operator (e.g., ++iter) for more complicated types, avoiding tmp creation.

* Prefer using const when possible.

* Use auto keyword, leaving correct type deduction to the compiler.

13 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+13 -9)
ahumphrey 2018-11-19 13:31 Rev.: 58944

Infrastructure restructuring and cleanup while starting last thesis-related task graph work.

Big things that I will always change when I see them.... and I saw much of this recently:

1.) ALWAYS use {} for 1-line conditionals.
if (<predicate>) {
// do stuff
}

2.) Use C++ static _cast over C-style casts, static_cast<int>(myvar) is checked at compile time, C casts are not and can fail at runtime.

3.) use "nullptr" over "0 or NULL" in the context of pointers and their assignment. Using NULL or 0 can be ambigous, e.g., compiler converting to non-pointer type 'int' from NULL (nullptr can't be assigned to an integral type). nullptr is a keyword and usage/intent is clear. From the standard: "The pointer literal is the keyword nullptr. It is an rvalue of type std::nullptr_t.".

4.) Things like Dout/Debugstreams that are specific to a compilation unit should be placed into an unnamed namespace (which is a utility to make an identifier translation unit local). The effect is almost identical to decalring something static.

5.) Use meanigful names, a bit lengthy is OK if it helps clarity. Remember, the compiler doesn't care about your names (values just go into registers), but the people maintaining your code do.. Code is meant to be read and maintained.

6.) Whitespace is our friend, but 80 column lines went away long ago.....

91 lines of code changed in 2 files:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+80 -90), LoadBalancerCommon.h (+11 -10)
ahumphrey 2018-09-11 09:39 Rev.: 58609

* Remove RunLengthEncoder and supporting classes, etc. This is no longer used. Removal will help clarity regarding Uintah::Variable functionality and features. This change has neccesitated explicit inclusion of "unistd.h" in a few spots, most specifically - MPM, for getpid() calls.

* Remove build system support for IPM and MAGMA libs, which have never been used. MAGAMA in fact, may ultimately hender Kokkos GPU asynchrony and performance.

* Generate new configure script with enable_option_checking bulletproofing.

* Delete unused header files.

* A few other cosmetic changes while under the hood, formatting, white space, etc.

1 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+1 -1)
allen 2018-08-29 20:50 Rev.: 58564

cleaned up the DOUT macros, consistent naming of timethresholds, added option to validate next delta before the reduction

1 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+1 -1)
allen 2018-08-13 14:25 Rev.: 58524

variable and comment clean up to refer to the material manager rather than the state

9 lines of code changed in 10 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (new), DynamicLoadBalancer.h (+1 -1), LoadBalancerCommon.cc (+2 -2), LoadBalancerCommon.h (+1 -1), ParticleLoadBalancer.cc (new), ParticleLoadBalancer.h (+1 -1)
allen 2018-08-10 11:53 Rev.: 58517

addition logic for nullptr material pointer and cleanup of unsigned warnings

4 lines of code changed in 2 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+2 -2), ParticleLoadBalancer.cc (+2 -2)
allen 2018-08-10 09:00 Rev.: 58514

removal of shared state and introduction of a material manager

16 lines of code changed in 6 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+4 -4), DynamicLoadBalancer.h (+1 -1), LoadBalancerCommon.cc (+4 -4), LoadBalancerCommon.h (+2 -2), ParticleLoadBalancer.cc (+4 -4), ParticleLoadBalancer.h (+1 -1)
ahumphrey 2018-07-03 18:38 Rev.: 58372

Correctly report number and type of DetailedTasks created in task graph.
Some other minor formatting and cleanup.

11 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+11 -11)
ahumphrey 2018-06-25 13:25 Rev.: 58348

Use std::unordered_set (since C++11) in processor neighborhod determination. Sorting isn't necessary and this shaves several minutes of TG compilation time at higher core counts.

28 lines of code changed in 2 files:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+16 -6), LoadBalancerCommon.h (+12 -12)
ahumphrey 2018-04-12 14:24 Rev.: 58070

Document remaining Douts.

9 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+9 -9)
allen 2018-03-29 12:25 Rev.: 58014

cleanup of the namespace for debug streams and removed using namespace std

244 lines of code changed in 10 files:

  • CCA/Components/LoadBalancers: CostModelForecaster.cc (new), CostProfiler.cc (+4 -7), DynamicLoadBalancer.cc (+63 -66), LoadBalancerCommon.cc (+12 -12), LoadBalancerCommon.h (+5), ParticleLoadBalancer.cc (+59 -62), ProfileDriver.cc (+58 -51)
ahumphrey 2018-03-26 13:44 Rev.: 58000

Cleanup, update debug output, default initialization (in header files, e.g. m_ptr{nullptr}), etc

2 lines of code changed in 2 files:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+1 -2), LoadBalancerCommon.h (+1 -1)
allen 2018-03-21 13:19 Rev.: 57974

added a componet tag for the in situ vars

6 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+6 -5)
allen 2018-03-17 15:27 Rev.: 57949

addition debug stream naming

32 lines of code changed in 5 files:

  • CCA/Components/LoadBalancers: CostModelForecaster.cc (+8 -10), DynamicLoadBalancer.cc (+3 -3), LoadBalancerCommon.cc (+6 -3), ParticleLoadBalancer.cc (+3 -3), ProfileDriver.cc (+12 -12)
allen 2018-03-17 13:47 Rev.: 57948

restructured teh Dout and DebugStream to register the streams to avoid conflicts

20 lines of code changed in 5 files:

  • CCA/Components/LoadBalancers: CostModelForecaster.cc (+2 -2), DynamicLoadBalancer.cc (+4 -22), LoadBalancerCommon.cc (+8 -7), ParticleLoadBalancer.cc (+4 -22), ProfileDriver.cc (+2 -2)
dav 2018-01-30 20:06 Rev.: 57748


Mostly cosemetic commit. Added in a number of "const" declarations and cleaned up
the code around them.

M CCA/Components/DataArchiver/DataArchiver.h
M CCA/Components/DataArchiver/DataArchiver.cc

- Mark methods as const if they don't change object data.
- Pass (all) params as constants where appropriate.
- Return const pointers to object data (as appropriate).
- Align params, white space.
- Rename findAllVariableTypes() to the more accurate findAllVariablesWithType().
- The "d_" vars are being phased out, so using direct getMPIRank() call instead.

M CCA/Ports/LoadBalancer.h

- Rename enum to use CAPITAL names for clarity. (The enum itself should probably be a named type.)
This makes grep'ing for them much easier.
- Remove tabs, white space.

M CCA/Components/LoadBalancers/DynamicLoadBalancer.cc
M CCA/Components/LoadBalancers/LoadBalancerCommon.cc
M CCA/Components/LoadBalancers/ParticleLoadBalancer.cc
M CCA/Components/SimulationController/AMRSimulationController.cc

- White space.
- Remove some "d_" usage.
- Use new LoadBalancer enum NAMES.
- Single line "if" statements need to use {}.


40 lines of code changed in 3 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+23 -25), LoadBalancerCommon.cc (+1 -1), ParticleLoadBalancer.cc (+16 -14)
jholmen 2018-01-29 16:54 Rev.: 57743

* Added TaskType Hypre.
* Updated TaskType logic to support Task::Hypre.
* Updated Kokkos-OpenMP Scheduler logic to exit OpenMP thread partitions when a Hypre task is selected.
* Cleaned up whitespace and formatting.

This commit allows Hypre tasks to be differentiated from OncePerProc tasks. This differentiation is used within the Kokkos-OpenMP Scheduler to make all OpenMP threads within an MPI process available to a Hypre task as opposed to only those within the OpenMP thread partition that selected the Hypre task.

44 lines of code changed in 1 file:

  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+44 -27)
ahumphrey 2018-01-19 16:34 Rev.: 57699

A viable short-term solution for the broken timers on BGQ architecture. Using the __bgq__ compiler macro.

Still need to fix lap timer for EMA, but this should get the production and scaling test runs working again.

20 lines of code changed in 3 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+14 -24), DynamicLoadBalancer.h (+5 -5), LoadBalancerCommon.h (+1 -1)
allen 2018-01-16 17:52 Rev.: 57673

moved PerPatchVars.h to Core and RunTimeStatsEnums.h to Schedulers to give better separation, Also removed unneeded ehader files

5 lines of code changed in 3 files:

  • CCA/Components/LoadBalancers: DynamicLoadBalancer.cc (+1 -1), LoadBalancerCommon.h (+3 -3), ParticleLoadBalancer.cc (+1 -1)
jas 2018-01-09 17:40 Rev.: 57604

Update copyright date.

21 lines of code changed in 33 files:

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