/trunk/src Developers: ahumphrey

Login name:
ahumphrey
Total Commits:
1,510 (11.3%)
Lines of Code:
28,602 (17.1%)
Most Recent Commit:
2016-10-23 22:03
Tweet this:
Tweet this

Activity by Clock Time

Activity by Hour of Day for ahumphrey

Activity by Day of Week for ahumphrey

Activity in Directories

Directory Changes Lines of Code Lines per Change
Totals 1510 (100.0%) 28602 (100.0%) 18.9
CCA/Components/Schedulers/ 269 (17.8%) 11894 (41.6%) 44.2
include/sci_defs/ 21 (1.4%) 5897 (20.6%) 280.8
Core/Grid/ 34 (2.3%) 2265 (7.9%) 66.6
Core/Lockfree/impl/ 4 (0.3%) 1007 (3.5%) 251.7
CCA/Components/LoadBalancers/ 56 (3.7%) 883 (3.1%) 15.7
Core/Lockfree/ 3 (0.2%) 870 (3.0%) 290.0
Core/Parallel/ 52 (3.4%) 779 (2.7%) 14.9
CCA/Ports/ 23 (1.5%) 676 (2.4%) 29.3
Core/Util/ 33 (2.2%) 466 (1.6%) 14.1
CCA/Components/Arches/ 37 (2.5%) 355 (1.2%) 9.5
Core/Util/Timers/ 1 (0.1%) 323 (1.1%) 323.0
StandAlone/tools/mpi_test/ 23 (1.5%) 317 (1.1%) 13.7
CCA/Components/MPM/Crack/ 34 (2.3%) 225 (0.8%) 6.6
Core/Disclosure/ 13 (0.9%) 216 (0.8%) 16.6
StandAlone/ 25 (1.7%) 208 (0.7%) 8.3
testprograms/Regridders/ 24 (1.6%) 155 (0.5%) 6.4
CCA/Components/DataArchiver/ 14 (0.9%) 155 (0.5%) 11.0
CCA/Components/MPM/ConstitutiveModel/ 78 (5.2%) 135 (0.5%) 1.7
Core/Grid/Variables/ 53 (3.5%) 132 (0.5%) 2.4
CCA/Components/SimulationController/ 18 (1.2%) 122 (0.4%) 6.7
CCA/Components/Arches/CoalModels/ 9 (0.6%) 105 (0.4%) 11.6
VisIt/libsim/ 18 (1.2%) 94 (0.3%) 5.2
CCA/Components/MPM/ConstitutiveModel/UnusedCM/ 46 (3.0%) 74 (0.3%) 1.6
StandAlone/tools/fsspeed/ 5 (0.3%) 70 (0.2%) 14.0
CCA/Components/Examples/ 7 (0.5%) 69 (0.2%) 9.8
CCA/Components/Models/Radiation/RMCRT/ 6 (0.4%) 63 (0.2%) 10.5
CCA/Components/Arches/ChemMix/ 12 (0.8%) 60 (0.2%) 5.0
Core/DataArchive/ 8 (0.5%) 54 (0.2%) 6.7
CCA/Components/Regridder/ 17 (1.1%) 54 (0.2%) 3.1
CCA/Components/OnTheFlyAnalysis/ 14 (0.9%) 54 (0.2%) 3.8
CCA/Components/ICE/PressureSolve/HypreStandAlone/ 17 (1.1%) 50 (0.2%) 2.9
StandAlone/tools/puda/ 36 (2.4%) 43 (0.2%) 1.1
Core/OS/ 6 (0.4%) 39 (0.1%) 6.5
CCA/Components/ProblemSpecification/ 3 (0.2%) 36 (0.1%) 12.0
testprograms/SFCTest/ 9 (0.6%) 35 (0.1%) 3.8
CCA/Components/Wasatch/ 12 (0.8%) 34 (0.1%) 2.8
CCA/Components/ICE/Advection/ 17 (1.1%) 34 (0.1%) 2.0
Core/Containers/ 10 (0.7%) 32 (0.1%) 3.2
StandAlone/tools/extractors/ 24 (1.6%) 31 (0.1%) 1.2
Core/Math/ 20 (1.3%) 30 (0.1%) 1.5
Core/Math/TntJama/ 6 (0.4%) 27 (0.1%) 4.5
StandAlone/tools/uda2vis/ 4 (0.3%) 25 (0.1%) 6.2
Core/Datatypes/ 17 (1.1%) 22 (0.1%) 1.2
/ 19 (1.3%) 21 (0.1%) 1.1
Core/ProblemSpec/ 6 (0.4%) 20 (0.1%) 3.3
Core/ 3 (0.2%) 20 (0.1%) 6.6
CCA/Components/Wasatch/Transport/ 8 (0.5%) 20 (0.1%) 2.5
scripts/ 1 (0.1%) 16 (0.1%) 16.0
CCA/Components/ICE/CustomBCs/ 8 (0.5%) 15 (0.1%) 1.8
CCA/Components/ICE/ 9 (0.6%) 15 (0.1%) 1.6
CCA/Components/Arches/Task/ 3 (0.2%) 15 (0.1%) 5.0
CCA/Components/MPM/ 13 (0.9%) 14 (0.0%) 1.0
StandAlone/tools/graphview/ 6 (0.4%) 13 (0.0%) 2.1
Core/Grid/BoundaryConditions/ 20 (1.3%) 13 (0.0%) 0.6
testprograms/TestSuite/ 4 (0.3%) 12 (0.0%) 3.0
CCA/Components/MPMArches/ 8 (0.5%) 11 (0.0%) 1.3
build_scripts/ 4 (0.3%) 10 (0.0%) 2.5
CCA/Components/Wasatch/Expressions/BoundaryConditions/ 1 (0.1%) 10 (0.0%) 10.0
CCA/Components/MPM/ConstitutiveModel/PortableTongeRamesh/ 6 (0.4%) 10 (0.0%) 1.6
CCA/Components/MPM/ConstitutiveModel/Biswajit/ 6 (0.4%) 10 (0.0%) 1.6
Core/Grid/PatchBVH/ 4 (0.3%) 9 (0.0%) 2.2
CCA/Components/Wasatch/Expressions/ 5 (0.3%) 9 (0.0%) 1.8
CCA/Components/Models/Radiation/RMCRT/randomNums/ 4 (0.3%) 9 (0.0%) 2.2
StandAlone/tools/dumpfields/ 8 (0.5%) 8 (0.0%) 1.0
Core/Malloc/ 6 (0.4%) 6 (0.0%) 1.0
Core/GeometryPiece/ 7 (0.5%) 6 (0.0%) 0.8
CCA/Components/Solvers/AMR/ 9 (0.6%) 6 (0.0%) 0.6
CCA/Components/Arches/TransportEqns/ 7 (0.5%) 6 (0.0%) 0.8
StandAlone/tools/makedot/ 4 (0.3%) 5 (0.0%) 1.2
StandAlone/tools/compare_mms/ 6 (0.4%) 5 (0.0%) 0.8
StandAlone/tools/ 4 (0.3%) 5 (0.0%) 1.2
R_Tester/helpers/ 3 (0.2%) 5 (0.0%) 1.6
CCA/Components/Arches/SourceTerms/ 4 (0.3%) 5 (0.0%) 1.2
tools/StackTrace/ 2 (0.1%) 4 (0.0%) 2.0
CCA/Components/Arches/Radiation/ 6 (0.4%) 4 (0.0%) 0.6
testprograms/ 4 (0.3%) 3 (0.0%) 0.7
StandAlone/tools/pfs/ 9 (0.6%) 3 (0.0%) 0.3
Core/Exceptions/ 2 (0.1%) 3 (0.0%) 1.5
CCA/Components/Solvers/AMR/HypreSolvers/ 1 (0.1%) 3 (0.0%) 3.0
CCA/Components/Solvers/AMR/HyprePreconds/ 4 (0.3%) 3 (0.0%) 0.7
CCA/Components/Solvers/ 6 (0.4%) 3 (0.0%) 0.5
CCA/Components/ICE/TurbulenceModel/ 2 (0.1%) 3 (0.0%) 1.5
CCA/Components/Arches/DigitalFilter/ 3 (0.2%) 3 (0.0%) 1.0
testprograms/TestBoxGrouper/ 4 (0.3%) 2 (0.0%) 0.5
CCA/Components/Wasatch/Operators/ 2 (0.1%) 2 (0.0%) 1.0
CCA/Components/Wasatch/Expressions/EmbeddedGeometry/ 2 (0.1%) 2 (0.0%) 1.0
CCA/Components/Models/HEChem/ 2 (0.1%) 2 (0.0%) 1.0
CCA/Components/Models/FluidsBased/ 2 (0.1%) 2 (0.0%) 1.0
CCA/Components/ICE/SpecificHeatModel/ 2 (0.1%) 2 (0.0%) 1.0
CCA/Components/ICE/EOS/ 2 (0.1%) 2 (0.0%) 1.0
tools/ 2 (0.1%) 1 (0.0%) 0.5
testprograms/TestMatrix3/ 2 (0.1%) 1 (0.0%) 0.5
testprograms/TestFastMatrix/ 2 (0.1%) 1 (0.0%) 0.5
StandAlone/Benchmarks/ 2 (0.1%) 1 (0.0%) 0.5
CCA/Components/Wasatch/Expressions/MMS/ 1 (0.1%) 1 (0.0%) 1.0
CCA/Components/MPMICE/ 3 (0.2%) 1 (0.0%) 0.3
CCA/Components/MPM/ConstitutiveModel/PortableTongeRamesh/TongeRameshPTRCalcs/ 1 (0.1%) 1 (0.0%) 1.0
CCA/Components/MPM/ConstitutiveModel/PlasticityModels/ 2 (0.1%) 1 (0.0%) 0.5
CCA/Components/Arches/Transport/ 1 (0.1%) 1 (0.0%) 1.0
CCA/Components/Arches/PropertyModels/ 4 (0.3%) 1 (0.0%) 0.2
CCA/Components/Arches/ParticleModels/ 2 (0.1%) 1 (0.0%) 0.5
CCA/Components/Arches/Operators/ 1 (0.1%) 1 (0.0%) 1.0
testprograms/Thread/ 4 (0.3%) 0 (0.0%) 0.0
testprograms/TestRangeTree/ 2 (0.1%) 0 (0.0%) 0.0
testprograms/TestConsecutiveRangeSet/ 2 (0.1%) 0 (0.0%) 0.0
testprograms/Malloc/ 3 (0.2%) 0 (0.0%) 0.0
include/compat/ 1 (0.1%) 0 (0.0%) 0.0
include/ 4 (0.3%) 0 (0.0%) 0.0
R_Tester/ 2 (0.1%) 0 (0.0%) 0.0
Core/Thread/ 57 (3.8%) 0 (0.0%) 0.0
Core/Persistent/ 7 (0.5%) 0 (0.0%) 0.0
Core/Datatypes/doc/ 6 (0.4%) 0 (0.0%) 0.0
CCA/Components/SwitchingCriteria/ 2 (0.1%) 0 (0.0%) 0.0
CCA/Components/ReduceUda/ 2 (0.1%) 0 (0.0%) 0.0
CCA/Components/Parent/ 1 (0.1%) 0 (0.0%) 0.0
CCA/Components/Models/ 2 (0.1%) 0 (0.0%) 0.0
CCA/Components/MPM/ParticleCreator/ 3 (0.2%) 0 (0.0%) 0.0

Activity of ahumphrey

Most Recent Commits

ahumphrey 2016-10-23 22:03 Rev.: 55906

Clamp down on synchronization in IntrusionBC::setCellType. This fixes a race condition occuring with the 8-corner boiler case at high patch/core counts during multi-threaded init timestep.

0 lines of code changed in 2 files:

  • CCA/Components/Arches: IntrusionBC.cc (changed)
ahumphrey 2016-10-03 16:18 Rev.: 55832

Maintain list of spawned threads. This way we can do RAII style management of thread join/detach.

0 lines of code changed in 2 files:

  • CCA/Components/Schedulers: UnifiedScheduler.cc (new)
ahumphrey 2016-09-27 16:26 Rev.: 55810

Some cleanup before working toward support for multiple "Normal" task-graphs.

This work aims to support a single compilation phase for >1 distinct TGs, and will cycle between them on specific timesteps. Precisely this support is for radiation and non-radiation timesteps within Arches. This way we avoid the continual hit from TG recompilation for RMCRT radiation timesteps.

Ripped out some unused source and header files from 1994.

75 lines of code changed in 12 files:

  • CCA/Components/SimulationController: AMRSimulationController.cc (+51 -53)
  • CCA/Ports: Scheduler.h (+21 -19)
  • Core/Datatypes: LockArray3.h (del), templates.cc (del)
  • Core/Datatypes/doc: Attrib.gif (del), Field.gif (del), Geom.gif (del), MeshConcept.h (del), TimeField.gif (del), domainDesign.html (del)
  • Core/Parallel: Parallel.cc (new)
ahumphrey 2016-09-26 11:59 Rev.: 55792

Fix so that all RMCRT variants work correctly with non-rectanguler domains.

15 lines of code changed in 1 file:

  • CCA/Components/Schedulers: TaskGraph.cc (+15 -5)
ahumphrey 2016-09-17 15:54 Rev.: 55755

Remove SingleProcessor Scheduler/LoadBalancer.

Most of the work here has been in removing the need for Parallel::determineIfRunningUnderMPI(), as running Uintah with MPI is now an invariant, even with only a single process. We ALWAYS run Uintah with MPI.

The last simple step will be to remove usage of Parallel::usingMPI() (which now simply returns true), and also do away with the "-mpi" command line option. Right now sus has been modified to silently ignore "-mpi" and once the nightly RT scripts have been modified, we can deprecate usage.

Note that the following examples of a single process run are synonymous and all use the MPI scheduler with 1 rank:

./sus input.ups
./sus -mpi input.ups
mpirun -np 1 ./sus input.ups
mpirun -np 1 ./sus -mpi input.ups

337 lines of code changed in 59 files:

  • environmentalFlags.txt (new)
  • CCA/Components/DataArchiver: DataArchiver.cc (+1 -1)
  • CCA/Components/LoadBalancers: LoadBalancerFactory.cc (new), LoadBalancerFactory.h (+13 -14), SingleProcessorLoadBalancer.cc (del), SingleProcessorLoadBalancer.h (del), sub.mk (new)
  • CCA/Components/Schedulers: MPIScheduler.cc (+9 -12), SchedulerFactory.cc (+23 -46), SchedulerFactory.h (+12 -12), SingleProcessorScheduler.cc (del), SingleProcessorScheduler.h (del), UnifiedScheduler.cc (+1 -1), sub.mk (-1)
  • Core/Parallel: Parallel.cc (+76 -163), Parallel.h (+2 -21), ProcessorGroup.cc (+2 -4), ProcessorGroup.h (-2)
  • StandAlone: compare_uda.cc (new), restart_merger.cc (new), slb.cc (new), sus.cc (+135 -142)
  • StandAlone/tools: compute_Lnorm_udas.cc (-1)
  • StandAlone/tools/extractors: extractF.cc (new), extractS.cc (new), extractV.cc (new), faceextract.cc (-1), lineextract.cc (-1), partextract.cc (-1), timeextract.cc (new)
  • StandAlone/tools/pfs: pfs.cc (new), pfs2.cc (new), rawToUniqueGrains.cc (-1)
  • StandAlone/tools/puda: puda.cc (new)
ahumphrey 2016-09-15 13:37 Rev.: 55749

More concurrency work on MPI recv engine - also moving to straight mutex sync on task queues (no CrowdMonitor). Ultimately these queues need to be lock-free data structures.

Cleaned up ProcesorGroup, along with some other misc formatting/cleanup while under the hood.

Updates to tsan_suppression file

298 lines of code changed in 17 files:

  • CCA/Components/Schedulers: DetailedTasks.cc (+31 -42), MPIScheduler.cc (+7 -9), OnDemandDataWarehouse.cc (+6 -5), TaskGraph.cc (+4 -4), UnifiedScheduler.cc (-12), UnifiedScheduler.h (-6)
  • CCA/Components/SimulationController: AMRSimulationController.cc (+1)
  • Core/Malloc: Allocator.cc (new)
  • Core/Parallel: Parallel.cc (+117 -104), Parallel.h (+40 -34), ProcessorGroup.cc (+23 -25), ProcessorGroup.h (+67 -57)
  • StandAlone: sus.cc (-3)
  • tools: tsan_suppression (new)
ahumphrey 2016-09-12 09:58 Rev.: 55732

More concurrency work along with significant cleanup in DetailedTasks.

1518 lines of code changed in 7 files:

  • CCA/Components/Schedulers: DetailedTasks.cc (+949 -917), DetailedTasks.h (+518 -373), MPIScheduler.cc (+2 -2), MemoryLog.cc (+34 -20), UnifiedScheduler.cc (+15 -22)
ahumphrey 2016-09-08 15:22 Rev.: 55722

More DependencyBatch concurrency improvements, std::atomic::compare_exchange_strong cleans up some dicey logic related to makeMPIRequest() and recieved().

Using std::memory_order_seq_cst for the strictest memory ordering. Might be able to relax this in the future.

Some other cleanup while under the hood.

234 lines of code changed in 7 files:

  • CCA/Components/Arches: IntrusionBC.cc (+137 -134)
  • CCA/Components/Schedulers: DependencyBatch.cc (new), DetailedTasks.cc (+28 -31), DetailedTasks.h (+28 -21), MPIScheduler.cc (+34 -67), UnifiedScheduler.cc (+2 -16)
ahumphrey 2016-09-07 12:29 Rev.: 55712

A few infrastructure concurrency fixes. Move DependencyBatch members to std::atomic, etc.

Arches - deafult initialize pointer members to nullptr, move member assignment to CTOR, remove using namespace std, add copyright header.

283 lines of code changed in 7 files:

  • CCA/Components/Arches: BoundaryCondition.cc (+40 -41), IntrusionBC.cc (+115 -83), IntrusionBC.h (+2 -2)
  • CCA/Components/Schedulers: DependencyBatch.cc (+15 -21), DependencyBatch.h (new), MPIScheduler.cc (+109 -99)
ahumphrey 2016-08-26 10:18 Rev.: 55667

Remove SingleDevice (Unified_SingleDevice) debug stream in favor of masking visible devices with the prefered CUDA_VISIBLE_DEVICES env var.

see: http://www.acceleware.com/blog/cudavisibledevices-masking-gpus

1 lines of code changed in 6 files:

  • environmentalFlags.txt (-2)
  • CCA/Components/Schedulers: OnDemandDataWarehouse.cc (-5), UnifiedScheduler.cc (+1 -4)
  • R_Tester: readme.txt (-1)
  • R_Tester/helpers: runSusTests.py (-1)
ahumphrey 2016-08-23 19:38 Rev.: 55665

Use std::atomic for DetatiledTask external dependency count. Removes CrowdMonitor in MPIScheduler.
Other minor cosmetics while refactoring.

142 lines of code changed in 8 files:

  • CCA/Components/Schedulers: DWDatabase.h (new), DependencyBatch.cc (+1 -1), DetailedTasks.cc (+4 -4), DetailedTasks.h (+6 -4), MPIScheduler.cc (+125 -142), SchedulerCommon.cc (+1 -2), UnifiedScheduler.cc (+4 -4)
ahumphrey 2016-08-22 19:52 Rev.: 55663

Separate out DependencyBatch and DetailedDependency code. Refactor other related areas. This is a cleanup prior to work on the MPI engine to eliminate redundant all-to-all communication related to RMCRT.

Also add RuntimeStats header/source. Will be used in schedulers soon to provide more accurate reporting of MPI statistics.

1577 lines of code changed in 18 files:

  • CCA/Components/Schedulers: BatchReceiveHandler.h (+17 -10), DependencyBatch.cc (+125), DependencyBatch.h (+112), DetailedDependency.cc (new 52), DetailedDependency.h (new 124), DetailedTasks.cc (+103 -259), DetailedTasks.h (+2 -114), MPIScheduler.cc (+40 -40), OnDemandDataWarehouse.cc (+16 -30), Relocate.cc (+7 -73), Relocate.h (+13 -8), RuntimeStats.cpp (+736), RuntimeStats.hpp (new 160), UnifiedScheduler.cc (+67 -74), Util.cc (-32), sub.mk (+3 -2)
ahumphrey 2016-08-10 15:47 Rev.: 55626

Fix broken GPU build.

2 lines of code changed in 1 file:

  • CCA/Components/Schedulers: UnifiedScheduler.cc (+2 -2)
ahumphrey 2016-08-08 14:04 Rev.: 55580

Use Output pointer member from SchedulerCommon only.

15 lines of code changed in 4 files:

  • CCA/Components/Schedulers: MPIScheduler.cc (+14 -15), MPIScheduler.h (new), SchedulerCommon.h (+1 -1)
ahumphrey 2016-08-07 21:40 Rev.: 55578

Significant refactoring and clenaup in schedulers and loadbalancers prior to assesment of the required changes to the MPI engine to support Kokkos views. Also moving away from all mutex protected debug output, in favor of the light-weight, printf-based Dout class and DOUT macros. We now get fully coherent debug output, regardless of the proc/thread counts. Also moving to standardized naming conventions for class, static, thread-local and global variables.

1319 lines of code changed in 32 files:

  • environmentalFlags.txt (-4)
  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+39 -61), LoadBalancerCommon.h (+7 -4), RoundRobinLoadBalancer.cc (+10 -17), RoundRobinLoadBalancer.h (new), SimpleLoadBalancer.cc (+4 -11), SimpleLoadBalancer.h (new)
  • CCA/Components/Schedulers: DWDatabase.h (+3 -1), DetailedTasks.h (+1 -1), DynamicMPIScheduler.cc (+77 -106), DynamicMPIScheduler.h (+8 -7), GPUGridVariableInfo.cc (new), MPIScheduler.cc (+76 -102), MPIScheduler.h (+9 -7), OnDemandDataWarehouse.cc (+21 -9), SchedulerCommon.cc (+556 -655), SchedulerCommon.h (+155 -141), SchedulerFactory.cc (-1), SingleProcessorScheduler.cc (+18 -18), TaskGraph.cc (+1 -1), UnifiedScheduler.cc (+100 -108), UnifiedScheduler.h (+1 -1)
  • CCA/Components/SimulationController: AMRSimulationController.cc (+1 -1), SimulationController.cc (+30 -38)
  • CCA/Ports: DataWarehouse.cc (+8 -9), LoadBalancer.h (new 85)
ahumphrey 2016-08-03 13:56 Rev.: 55569

Fix race condition in CharOxidationSmith.
Added copyright header and removed the opening up of std namespace.
Also removed the include of a SpatialOps header that wasn't being used.

86 lines of code changed in 3 files:

  • CCA/Components/Arches/CoalModels: CharOxidationSmith.cc (+50 -28), CharOxidationSmith.h (new)
ahumphrey 2016-08-02 12:35 Rev.: 55562

Fix incorrect extern decl for Dout objects.

6 lines of code changed in 2 files:

  • CCA/Components/Schedulers: DynamicMPIScheduler.cc (+3 -3), UnifiedScheduler.cc (+3 -6)
ahumphrey 2016-08-02 10:09 Rev.: 55561

Small refactoring of UnifiedScheduler-related DebugStreams. Next step is replacement of these with Dout class and DOUT macros - removing all usage of cerr/cout Locks.

Update environmentalFlags.txt

8 lines of code changed in 5 files:

  • environmentalFlags.txt (-4)
  • CCA/Components/Schedulers: OnDemandDataWarehouse.cc (-2), SchedulerCommon.cc (+1 -2), UnifiedScheduler.cc (+7 -2), UnifiedScheduler.h (-7)
ahumphrey 2016-08-01 14:20 Rev.: 55559

Remove CommRecMPI source/header files.

Begin incorporation of Dout class and DOUT macro for debug reporting - simple, printf-based and fully thread-safe, needing no locks for output. This also allows us to move away from DebugStream (which inherits from the standard library). DOUT fully co-opts the SCI_DEBUG flags, so the original names work as tehy alwasy have.

DOUT is wonderful and actually provides coherent output for multiple threads/ranks, etc and avoids the massive code clutter necessary for the same degree of safety in the DebugStreams.

Thanks to Dan S. for this great insight.

234 lines of code changed in 14 files:

  • CCA/Components/Schedulers: CommRecMPI.cc (del), CommRecMPI.h (del), DetailedTasks.cc (+6 -13), DynamicMPIScheduler.cc (+19 -34), MPIScheduler.cc (+117 -190), MPIScheduler.h (+28 -29), OnDemandDataWarehouse.cc (+5 -12), Relocate.cc (+16 -9), SchedulerCommon.cc (-3), SchedulerCommon.h (+11 -6), SingleProcessorScheduler.cc (-42), UnifiedScheduler.cc (+24 -44)
  • Core/Util: DOUT.hpp (new)
ahumphrey 2016-08-01 11:23 Rev.: 55558

Introduction of the Lockfree Pool data structure and the new CommunicationList. Using this now to replace CommRecMPI and its use of the problematic MPI_Testsome() and MPIWaitsome() calls. We now store individual requests in a lock/wait/contention free Pool and call MPI_Test() and MPI_Wait on individual MPI_Requests.

This fixes the MPI_Buffer memory leak seen in the threaded scheduler, in which multiple threads think they will recieve a message, allocate a buffer and then only one thread does the actual recieve and calls the after-communcation handler to clean up the buffer. This memory leak was most pronounced at large scale with RMCRT due to the global halo requirement.

Also backing out the support for non-uniform ghost cells across AMR levels for now, until the issue of some required messages not being generated from coarse radiation mesh to some ranks. This has to do within partial dependencybatches being created due to an incomplete processor neighborhood list across levels.

MISC:

* cleaned up some old TAU remnants in doc directory and build system
* refactor and cleanup in MPIScheduler
* removed unused source code, including the old ThreadedScheduler (only one threaded scheduler now - Unified)
* cleaned up non-existent entreis in environmentalFlags.txt

2433 lines of code changed in 35 files:

  • Makefile.in (-5), configVars.mk.in (+1 -1), environmentalFlags.txt (-10), exclude.txt (new)
  • CCA/Components/LoadBalancers: LoadBalancerCommon.cc (+2 -8)
  • CCA/Components/Schedulers: BatchReceiveHandler.h (+13 -4), DetailedTasks.cc (+3 -7), DynamicMPIScheduler.cc (+30 -13), IncorrectAllocation.cc (del), IncorrectAllocation.h (del), MPIScheduler.cc (+195 -198), MPIScheduler.h (+33 -34), OnDemandDataWarehouse.cc (-1), SchedulerCommon.cc (-11), SchedulerCommon.h (-5), ThreadedMPIScheduler.cc (del), ThreadedMPIScheduler.h (del), UnifiedScheduler.cc (+70 -35), sub.mk (-2)
  • CCA/Ports: Scheduler.h (-2)
  • Core/Grid: Task.cc (new), Task.h (+4 -4)
  • Core/Lockfree: Lockfree_LevelPool.hpp (new 418), Lockfree_Mappers.hpp (new 87), Lockfree_Pool.hpp (new 365)
  • Core/Lockfree/impl: Lockfree_Bits.hpp (new 174), Lockfree_Macros.hpp (new 84), Lockfree_Node.hpp (new 558), Lockfree_Pool.hpp (new 191)
  • Core/Parallel: CommunicationList.hpp (new 202), CrowdMonitor.hpp (+1 -1)

(39 more)

Generated by StatSVN 0.7.0