/trunk/src Developers: dav

Login name:
dav
Total Commits:
534 (4.0%)
Lines of Code:
8,887 (5.3%)
Most Recent Commit:
2016-12-19 17:53
Tweet this:
Tweet this

Activity by Clock Time

Activity by Hour of Day for dav

Activity by Day of Week for dav

Activity in Directories

Directory Changes Lines of Code Lines per Change
Totals 534 (100.0%) 8887 (100.0%) 16.6
Core/Parallel/ 6 (1.1%) 1893 (21.3%) 315.5
CCA/Components/DataArchiver/ 16 (3.0%) 1339 (15.1%) 83.6
Core/DataArchive/ 12 (2.2%) 514 (5.8%) 42.8
CCA/Components/SimulationController/ 17 (3.2%) 414 (4.7%) 24.3
CCA/Ports/ 18 (3.4%) 397 (4.5%) 22.0
build_scripts/ 6 (1.1%) 377 (4.2%) 62.8
CCA/Components/Arches/ 10 (1.9%) 269 (3.0%) 26.9
CCA/Components/Schedulers/ 34 (6.4%) 265 (3.0%) 7.7
StandAlone/tools/puda/ 8 (1.5%) 264 (3.0%) 33.0
Core/Grid/Variables/ 49 (9.2%) 259 (2.9%) 5.2
Core/Grid/ 19 (3.6%) 233 (2.6%) 12.2
CCA/Components/Arches/Transport/ 8 (1.5%) 163 (1.8%) 20.3
CCA/Components/Arches/TransportEqns/ 11 (2.1%) 125 (1.4%) 11.3
CCA/Components/Arches/CoalModels/ 5 (0.9%) 123 (1.4%) 24.6
build_scripts/Wasatch3PStandalone/HelperBuildScripts/ 14 (2.6%) 119 (1.3%) 8.5
CCA/Components/Arches/ParticleModels/ 4 (0.7%) 109 (1.2%) 27.2
CCA/Components/Arches/SourceTerms/ 3 (0.6%) 107 (1.2%) 35.6
/ 15 (2.8%) 105 (1.2%) 7.0
CCA/Components/Wasatch/Transport/ 3 (0.6%) 92 (1.0%) 30.6
CCA/Components/Arches/Utility/ 4 (0.7%) 90 (1.0%) 22.5
R_Tester/helpers/ 1 (0.2%) 87 (1.0%) 87.0
StandAlone/ 7 (1.3%) 83 (0.9%) 11.8
CCA/Components/Arches/PropertyModelsV2/ 4 (0.7%) 74 (0.8%) 18.5
CCA/Components/Arches/Task/ 4 (0.7%) 71 (0.8%) 17.7
R_Tester/toplevel/ 1 (0.2%) 70 (0.8%) 70.0
Core/Disclosure/ 9 (1.7%) 70 (0.8%) 7.7
CCA/Components/Arches/PropertyModels/ 4 (0.7%) 69 (0.8%) 17.2
include/sci_defs/ 6 (1.1%) 65 (0.7%) 10.8
CCA/Components/Arches/LagrangianParticles/ 4 (0.7%) 65 (0.7%) 16.2
CCA/Components/Arches/ChemMix/ 4 (0.7%) 64 (0.7%) 16.0
CCA/Components/LoadBalancers/ 13 (2.4%) 62 (0.7%) 4.7
CCA/Components/Wasatch/ 10 (1.9%) 58 (0.7%) 5.8
CCA/Components/Arches/WallHTModels/ 4 (0.7%) 52 (0.6%) 13.0
CCA/Components/Solvers/AMR/ 7 (1.3%) 49 (0.6%) 7.0
CCA/Components/OnTheFlyAnalysis/ 17 (3.2%) 45 (0.5%) 2.6
CCA/Components/Arches/Operators/ 2 (0.4%) 45 (0.5%) 22.5
CCA/Components/Solvers/AMR/HypreSolvers/ 2 (0.4%) 43 (0.5%) 21.5
CCA/Components/Wasatch/Expressions/ 7 (1.3%) 40 (0.5%) 5.7
scripts/ 1 (0.2%) 38 (0.4%) 38.0
CCA/Components/ICE/ 6 (1.1%) 37 (0.4%) 6.1
StandAlone/tools/fsspeed/ 4 (0.7%) 32 (0.4%) 8.0
build_scripts/Wasatch3PStandalone/ 12 (2.2%) 30 (0.3%) 2.5
build_scripts/Wasatch3PStandalone/NSCBC-build/ 1 (0.2%) 29 (0.3%) 29.0
Core/Math/ 3 (0.6%) 24 (0.3%) 8.0
CCA/Components/Regridder/ 6 (1.1%) 24 (0.3%) 4.0
CCA/Components/MPM/ConstitutiveModel/PortableTongeRamesh/TongeRameshPTRCalcs/ 2 (0.4%) 22 (0.2%) 11.0
CCA/Components/ProblemSpecification/ 1 (0.2%) 21 (0.2%) 21.0
CCA/Components/Models/FluidsBased/ 10 (1.9%) 21 (0.2%) 2.1
build_scripts/Wasatch3PStandalone/SpatialOps-build/ 8 (1.5%) 20 (0.2%) 2.5
CCA/Components/Wasatch/Operators/ 4 (0.7%) 19 (0.2%) 4.7
CCA/Components/MPM/ 5 (0.9%) 17 (0.2%) 3.4
testprograms/Malloc/ 6 (1.1%) 15 (0.2%) 2.5
StandAlone/tools/mpi_test/ 8 (1.5%) 12 (0.1%) 1.5
Core/Util/ 4 (0.7%) 11 (0.1%) 2.7
StandAlone/tools/extractors/ 2 (0.4%) 9 (0.1%) 4.5
CCA/Components/Solvers/ 6 (1.1%) 9 (0.1%) 1.5
CCA/Components/ICE/PressureSolve/HypreStandAlone/ 4 (0.7%) 9 (0.1%) 2.2
StandAlone/tools/uda2vis/ 1 (0.2%) 8 (0.1%) 8.0
StandAlone/tools/graphview/ 2 (0.4%) 8 (0.1%) 4.0
StandAlone/tools/ 2 (0.4%) 8 (0.1%) 4.0
CCA/Components/Wasatch/Expressions/Turbulence/ 2 (0.4%) 8 (0.1%) 4.0
CCA/Components/Wasatch/Expressions/MMS/ 2 (0.4%) 8 (0.1%) 4.0
StandAlone/tools/dumpfields/ 2 (0.4%) 7 (0.1%) 3.5
CCA/Components/Wasatch/Expressions/PostProcessing/ 1 (0.2%) 7 (0.1%) 7.0
CCA/Components/Wasatch/Expressions/BoundaryConditions/ 2 (0.4%) 7 (0.1%) 3.5
build_scripts/Wasatch3PStandalone/RadProps-build/ 5 (0.9%) 6 (0.1%) 1.2
StandAlone/tools/compare_mms/ 2 (0.4%) 6 (0.1%) 3.0
CCA/Components/Examples/ 9 (1.7%) 6 (0.1%) 0.6
CCA/Components/Arches/fortran/ 2 (0.4%) 6 (0.1%) 3.0
build_scripts/Wasatch3PStandalone/TabProps-build/ 5 (0.9%) 5 (0.1%) 1.0
build_scripts/Wasatch3PStandalone/ExprLib-build/ 6 (1.1%) 5 (0.1%) 0.8
Core/OS/ 5 (0.9%) 5 (0.1%) 1.0
Core/Exceptions/ 2 (0.4%) 4 (0.0%) 2.0
CCA/Components/ReduceUda/ 4 (0.7%) 3 (0.0%) 0.7
VisIt/libsim/ 1 (0.2%) 2 (0.0%) 2.0
CCA/Components/Models/Radiation/RMCRT/ 2 (0.4%) 2 (0.0%) 1.0
CCA/Components/ICE/Advection/ 2 (0.4%) 2 (0.0%) 1.0
include/ 2 (0.4%) 1 (0.0%) 0.5
CCA/Components/Parent/ 2 (0.4%) 1 (0.0%) 0.5
CCA/Components/MPM/ReactionDiffusion/ 1 (0.2%) 1 (0.0%) 1.0
CCA/Components/FVM/ 1 (0.2%) 1 (0.0%) 1.0
CCA/Components/Arches/Radiation/ 2 (0.4%) 1 (0.0%) 0.5
CCA/Components/ 1 (0.2%) 1 (0.0%) 1.0
R_Tester/ 1 (0.2%) 0 (0.0%) 0.0
Core/ProblemSpec/ 1 (0.2%) 0 (0.0%) 0.0
Core/Malloc/ 2 (0.4%) 0 (0.0%) 0.0
CCA/Components/Wasatch/transport/ 1 (0.2%) 0 (0.0%) 0.0

Activity of dav

Most Recent Commits

dav 2016-12-19 17:53 Rev.: 56124

Alphabetize #includes. Better logic for checking for 'pidx' tag. Fix variable name ('error') to be accurate.

0 lines of code changed in 2 files:

  • Core/DataArchive: DataArchive.cc (changed)
dav 2016-12-19 17:21 Rev.: 56121

Whitespace/readability fix.

15 lines of code changed in 3 files:

  • Core/DataArchive: DataArchive.cc (+1 -1), DataArchive.h (+14 -15)
dav 2016-12-01 15:27 Rev.: 56037

Added Mira

0 lines of code changed in 2 files:

  • build_scripts/Wasatch3PStandalone/HelperBuildScripts: checkEnv.sh (changed)
dav 2016-11-29 17:50 Rev.: 56029

Fix a few missed updates from Allens commit a little while back with regards to PIDX sections. Have not tested, but believe this is correct.

4 lines of code changed in 1 file:

  • CCA/Components/SimulationController: AMRSimulationController.cc (+4 -5)
dav 2016-11-29 17:03 Rev.: 56027

Couple of relatively minor fixes to configure system to catch corner case bugs.

M configure.ac
M configure

- Automatically add "-fp-model precise" to CFLAGS (for optimized builds) when using Intel compiler.
- Rename "with_malloc_trace" to "with_MallocTrace" for consistency and so that macro expansion will work with
this flag.
- Add in code (was already in configure.ac but not in configure?) that will remove out of date .o files that
depend on the Wasatch 3P when the W3P changes (via configure).

M aclocal.m4

- Catch when the user says something like "--with-fortran= " (User must point to a
directory and this previously allowed for bad logic to happen).


0 lines of code changed in 2 files:

  • aclocal.m4 (new)
dav 2016-11-01 15:08 Rev.: 55931

<checkpoint> walltimeStart and walltimeInterval are in integer seconds.

2 lines of code changed in 1 file:

  • CCA/Components/DataArchiver: DataArchiver.cc (+2 -2)
dav 2016-10-26 15:28 Rev.: 55921

Rename reg to regridder. White space.

21 lines of code changed in 1 file:

  • StandAlone: sus.cc (+21 -21)
dav 2016-10-19 17:27 Rev.: 55894

Use d_ naming convention. Default <PIDX> tag vars to avoid segfaults. White space.

0 lines of code changed in 4 files:

  • CCA/Ports: PIDXOutputContext.cc (new), PIDXOutputContext.h (changed)
dav 2016-10-12 15:09 Rev.: 55863

Update configure to remove Wasatch .o files when W3P changes (need to rebuild configure but wanted to get tihs in).

11 lines of code changed in 2 files:

  • include/sci_defs: wasatch_testdefs.h.in (new)
dav 2016-10-10 16:26 Rev.: 55856


Added ability to build NSCBC library.

33 lines of code changed in 4 files:

  • build_scripts/Wasatch3PStandalone: doit (+2 -1)
  • build_scripts/Wasatch3PStandalone/HelperBuildScripts: checkEnv.sh (+2)
  • build_scripts/Wasatch3PStandalone/NSCBC-build: doit (new 29)
dav 2016-10-10 15:28 Rev.: 55853


Add in the Wasatch 3P NSCBC library build/check in configure system. If you are using Wasatch and pointing
to old Watach 3Ps, this will cause your build to break... you will need to update your W3P to include
the NSCBC library.

M build_scripts/build_wasatch_3p.sh

- Added in Tony Saad's build commands for NSCBC library. Added hooks to allow configure to
specify whether to build it or not.

M configVars.mk.in

- Added in HAVE_NSCBC and NSCBC_INCLUDE flags.

M configure.ac
M configure

- Order Wasatch 3P lines to always be SpatialOps, ExprLib, TabProps, RadProps, NSCBC, POKITT.
- Add in verification of NSCBC files and NSCBC flags.
- Re-ordered the Pokitt test to be after the NSCBC test (just to keep using the same order when looking W3P libs).

M CCA/Components/SimulationController/AMRSimulationController.cc

- Few layout cleanups for easier reading.

M CCA/Components/SimulationController/SimulationController.cc

- Rename 't' to 'time'. Please don't use one letter variable names.
- Commented out "stdDeviation()" function as it isn't used and causes compiler warnings.

M Core/DataArchive/DataArchive.cc

- Fix error message when looking for <Data> to accurately report the name of the file that was searched.


75 lines of code changed in 6 files:

  • configVars.mk.in (+4)
  • CCA/Components/SimulationController: AMRSimulationController.cc (+2 -4), SimulationController.cc (+8 -6)
  • Core/DataArchive: DataArchive.cc (+4 -1)
  • build_scripts: build_wasatch_3p.sh (+57)
dav 2016-10-04 14:23 Rev.: 55838


M CCA/Components/DataArchiver/DataArchiver.cc

- Comment end of function.

M CCA/Components/SimulationController/AMRSimulationController.cc

- Set a var ('checkpointing') to remember if this is a checkpoint so we don't have to do the check twice.
The previous code was problematic as it used an individual rank's currentSeconds() and we
were doing the check (for the same timestep) twice with different wall times.


4 lines of code changed in 2 files:

  • CCA/Components/DataArchiver: DataArchiver.cc (+1 -1)
  • CCA/Components/SimulationController: AMRSimulationController.cc (+3 -4)
dav 2016-10-03 19:22 Rev.: 55834


Fix a nasty synchronization bug in checkpointing based on wall clock time.
This, I believe, mainly only shows up with very quick time steps, but it
could, conceivably, show up 'randomly' any time. The problem was that
each rank was determining "what the wall clock time is"... And each processors
clock could be off, or the check could be just a micro second delayed,
causing one core to not think that it is time for a checkpoint, and all
others to try to checkpoint, thus causing a hang (or segfault).

It would appear that this issue has been in the code for a long time.
In almost (?) all cases where real time is used, the time is found by
rank 0 and broadcast to everyone else. However, (at least) in this case
all ranks were calling currentSeconds(). I believe that I have found
the two locations this was happening and fixed it, and want to get this
fix committed for Sid to try and so that Ben's runs can be attempted.

However, it would behoove us to actually go through this code in detail
to make sure that we haven't missed anything and that redundant work
is not being performed. Also, I don't think that the broadcast will
be a major problem, but I'd like to get Alan's (et al) thoughts on this.

M CCA/Components/DataArchiver/DataArchiver.cc

- Removed tabs, Minor white space clean ups. Use > 80 columns of code where it makes sense.
Be consistent with placement of '{' in for loops, and use of else on a new line.
- d_checkpointWalltimeInterval is an integer, though there were (are?) a
few places it was being treated like a float. Probably didn't make a
difference, but we should be consistent.
- Have rank 0 determine the time and bcast it if we are doing wall clock
check pointing.

M CCA/Components/SimulationController/AMRSimulationController.cc

- Have rank 0 determine the time and bcast it if we are doing wall clock
check pointing.


52 lines of code changed in 2 files:

  • CCA/Components/DataArchiver: DataArchiver.cc (+34 -30)
  • CCA/Components/SimulationController: AMRSimulationController.cc (+18 -6)
dav 2016-10-03 14:53 Rev.: 55828

This commit allows for dumping the grid.xml file in binary. It is turned off by default at this point.
Additionally, the <Data> section is split out of the grid.xml file and put into its own file (XML/ASCII) -
but only when using the XML_TEXTWRITER or the binary output.

If the grid is output in binary, you can use the "puda/grid_reader.cc" stand alone program to
display it (in XML) so you can visually see what is in the file. It is important to note that
when outputing in XML, we can (and do) ignore (not write) tags that are meaningless (in certain situations)
or have a default when they do not exist in the file. However, in the binary version, we have to write them all
out. I have tested against our local regression tests, but it is possible that there are some
seldomly used flags that are not yet written to the binary grid.xml file that we will need to take
care of adding in if/when they come up.

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

- Finished implementing the writeGridBinary() function.
- Drop out of writeto_xml_files() immediately if not an I/O timestep. Previously it didn't
actually do anything, but it was not clear that it was not doing anything.
- Currently, to turn on binary output of grid.xml, you need to edit the code and
uncomment the writeGridBinary() call (and comment out the writeGridOriginal()).
Hopefully soon this will just be the default so we can get rid of the multiple
cases and extra code.
- Create a shared writeDataTextWriter() so that both the XML_TEXTWRITER and binary version
can share the code to dump the data.xml file.
- procOnLevel is a boolean array, so treat it as such.
- Swat some endls that take a lot more typing then just a \n.
- White space for better readability, update some formatting for consistency.

M CCA/Components/SimulationController/AMRSimulationController.cc

- Indentation is your friend.
- Remove tabs, line up code, white space.

M CCA/Components/SimulationController/SimulationController.cc

- Move local stdDeviation() routine to just above where it is used. Make static.
- Swat endls.
- White space for readability.
- Remove end of lines from exception messages where they are not needed.

M Core/DataArchive/DataArchive.h
M Core/DataArchive/DataArchive.cc

- Alphabetize #includes.
- Add a constant magic number to designate binary grid.xml files. Used by the code to verify
which version (xml vs binary) is being read. GRID_MAGIC_NUMBER
- Remove the "ref_cnt" and "lock" class variables as it appears they aren't used, and they don't
do anything. I believe they are left over vestiges of days long past.
- Remove "d_grid_path_and_filename" as all we need is the path and that is already stored.
- White space and consistent indentation.
- Added code to read in the new binary grid.xml files.
- Removed a huge "#if 0" section. Most likely left over from a previous version of UDA reading.
It would be good to converge on a single method and only have one set of code...

M Core/Grid/Grid.h
M Core/Grid/Grid.cc

- Add in readLevelsFromFileBinary() code to support DataArchive reading of new binary grid.xml.
As you can see from the (short) size of this routine, reading the binary version is much
simpler (especially compared to the streaming (non-DOM based) xml parsing that we also
currently do).
- Make use of longer lines as we non-longer are limites to 80 columns - where it makes sense.
- Add "{" to single line if statements as per coding standard.
- Remove some debug statements.
- Line up code for easier reading.

M Core/Grid/Level.cc

- White space / line up code for easier reading.

M Core/Grid/SimulationTime.cc

- White space / line up code for easier reading.
- Removed the deprecated "<max_iterations>" check. It hasn't been used in a long time.

M StandAlone/tools/puda/grid_reader.cc

- New, stand alone program to read a binary grid.xml file and display a human readable XML version.
- If you update this code, make sure it matches the writing in DataArchiver and the reading in
DataArchive.

M StandAlone/tools/puda/sub.mk

- Build grid_reader.


665 lines of code changed in 16 files:

  • CCA/Components/DataArchiver: DataArchiver.cc (+182 -120), DataArchiver.h (+11 -3)
  • CCA/Components/SimulationController: AMRSimulationController.cc (+9 -8), SimulationController.cc (+37 -35)
  • Core/DataArchive: DataArchive.cc (+109 -155), DataArchive.h (+18 -23)
  • Core/Grid: Grid.cc (+106 -30), Grid.h (new), Level.cc (+22 -22), SimulationTime.cc (+35 -37)
  • StandAlone/tools/puda: grid_reader.cc (+132 -6), sub.mk (new)
dav 2016-09-27 14:56 Rev.: 55805

Fix proc signature for tempaltes.

22 lines of code changed in 1 file:

  • CCA/Ports: PIDXOutputContext.cc (+22 -22)
dav 2016-09-27 14:17 Rev.: 55803


Add in code from Sidharth to complete the update to allow for
switching between PIDX and UDA output. These changes come from Sid,
but I've cleaned up the syntax a little in some cases. I've tested
them against the local RT but not extensively against PIDX tests
themselves.

M CCA/Ports/Output.h
M CCA/Components/DataArchiver/DataArchiver.h

- Add setSaveAsUDA() and setSaveAsPIDX() functions.

M CCA/Components/DataArchiver/DataArchiver.cc

- White space.
- Guards to check for when using PIDX.


M CCA/Components/SimulationController/AMRSimulationController.cc

- When switching between PIDX and original UDA, let the 'output' (DataArchiver) know which to use.
- If using PIDX, only save timestep.xml for checkpoints.

M CCA/Ports/PIDXOutputContext.h
M CCA/Ports/PIDXOutputContext.cc

- Remove unnecessary ';' from outside of procedures.
- Move empty destructor from .cc file to .h file.
- Align variables / white space.
- Swat evil endl.
- Use variables names that describe their content, not non-meaningful names (eg: me).
- Pass args as const when they are.
- Use a single line for .h file procedures when they are only a single line. Makes reading
the 'spec' much easier.
- Don't mix printf and cout.



135 lines of code changed in 6 files:

  • CCA/Components/DataArchiver: DataArchiver.cc (+16 -15), DataArchiver.h (+4)
  • CCA/Components/SimulationController: AMRSimulationController.cc (+31 -9)
  • CCA/Ports: Output.h (+4), PIDXOutputContext.cc (+45 -45), PIDXOutputContext.h (+35 -40)
dav 2016-09-23 11:53 Rev.: 55789

Turning off the xml texwriter.

1 lines of code changed in 1 file:

  • CCA/Components/DataArchiver: DataArchiver.cc (+1 -1)
dav 2016-09-21 15:33 Rev.: 55780

Indentation is your friend.

2 lines of code changed in 1 file:

  • CCA/Components/Arches/Transport: KScalarRHS.h (+2 -1)
dav 2016-09-21 12:53 Rev.: 55778


Main changes:

Fixes to allow "Nth proc output" to work based on simulation time and wall time.

Also skeleton for writing out grid.xml information in binary, but this is no where
near complete.

Moved the "adjustDelT()" call up higher in the main simulation time loop. Tests
appear to say this is fine, but note that delta t is now updated before regridding.
I assume regridding does not use delta t, but did not trace the code all the way through.

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

- Added in getNextCheckpointWalltime(), etc, as these were not exposed before and are
now needed by the SimulationController.
- Broke the grid.xml writing code out into separate procedures to make it less messy.
The grid writing in binary is just a stub at this point.
- Cosmetics: White space, untabify, alignment, etc.

M CCA/Components/SimulationController/AMRSimulationController.h

- Do NOT name variables with a single letter (eg: 't' is terrible). Renamed to 'time'.
(Unless in a very small, self-contained loop, and even then it is bad).
- Cosmetics.

M CCA/Components/SimulationController/AMRSimulationController.cc

- Add in checks to support "Nth rank output" based on simulation time and wall clock time.
- Moved adjustDelT() up a little higher in the main simulation loop. This should not be an
issue and all tests pass.
- Rename t -> time. DO NOT USE one letter variable names. Thank you.
- White space.

M CCA/Ports/Output.h

- Added interface for getNextCheckpointWalltime() and getCheckpointWalltimeInterval().

546 lines of code changed in 5 files:

  • CCA/Components/DataArchiver: DataArchiver.cc (+428 -333), DataArchiver.h (+60 -58)
  • CCA/Components/SimulationController: AMRSimulationController.cc (+40 -34), AMRSimulationController.h (+9 -9)
  • CCA/Ports: Output.h (+9 -9)
dav 2016-09-20 12:08 Rev.: 55770

Fix for GPU code: LoadBalancer -> LoadBalancerPort.

14 lines of code changed in 3 files:

  • CCA/Components/Schedulers: UnifiedScheduler.cc (+11 -7), UnifiedScheduler.h (+3 -3)

(52 more)

Generated by StatSVN 0.7.0