Directory CCA/Components/Models/Radiation/RMCRT/

Total Files:
12
Deleted Files:
0
Lines of Code:
12235

[root]/CCA/Components/Models/Radiation/RMCRT
                        directory in repo randomNums (3 files, 840 lines)

Lines of Code

CCA/Components/Models/Radiation/RMCRT/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 66 (100.0%) 3226 (100.0%) 48.8
mcconnell 7 (10.6%) 1527 (47.3%) 218.1
bpeterson 5 (7.6%) 759 (23.5%) 151.8
jholmen 8 (12.1%) 651 (20.2%) 81.3
allen 26 (39.4%) 275 (8.5%) 10.5
jas 17 (25.8%) 12 (0.4%) 0.7
harman 1 (1.5%) 1 (0.0%) 1.0
dav 2 (3.0%) 1 (0.0%) 0.5

Most Recent Commits

allen 2018-10-10 10:12 Rev.: 58806

added default to header

0 lines of code changed in 2 files:

  • CCA/Components/Models/Radiation/RMCRT: Ray.h (new)
allen 2018-09-28 12:06 Rev.: 58728

added example of stats for RMCRT

80 lines of code changed in 3 files:

  • CCA/Components/Models/Radiation/RMCRT: Ray.cc (new), Ray.h (+4)
harman 2018-08-23 17:30 Rev.: 58549

Replaced tabs with spaces.
Please check your editors.


1 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: Ray.h (+1 -1)
bpeterson 2018-06-26 20:17 Rev.: 58357

Turning off the FIXED_RANDOM_NUM define here as well (it's already off in the other two locations.)

0 lines of code changed in 2 files:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (changed)
dav 2018-04-25 15:35 Rev.: 58189


This commit brings the PIDX data I/O branch (named: pidx_xml) back into the trunk.
All PIDX data I/O is, by default, turned off. To use PIDX you have to configure
against the PIDX library (either installing manually and pointing at it, or using
the --with-pidx flag (not 100% certain that this works at the moment)), and you must
set <DataArchiver type="PIDX"> (as opposed to the default which is type="UDA") in
the .ups input file.


Other caveats:

- Particles are not (currently?) supported in PIDX so any simulation that has a
particle data type will fail (most will print an error that PIDX does not
support them, but it seems some just die).

- Simulations that have overlapping patches (this may just be AMR type
sims) (eg: multibox_rmcrt_coal_1L) can save (slightly different) results.
In the multibox_rmcrt_coal_1L, we saw (only) a handful of differences like this:
((A 1 vs a 0 in a couple of locations) Also note that the UDA itself compared
successfully, but the checkpoint underneath it did not...)

DIFFERENCE [int 36, 5, 0] Time: 0.0003106658 Level: 0 Patch1: 0 Patch2: 0 Material: 0 Variable: areaFractionFX
multibox_RMCRT_coal_1L.uda/checkpoints goldStandard/.../multibox_RMCRT_coal_1L.uda/checkpoints
1 0

- "#if HAVE_PIDX" is used inconsistently through a number of files. Some PIDX stuff is #if'd out, while other code
is left in and compiles, it is just not used.

- There are a lot of cleanups that can and should take place wrt the PIDX integration.
While the code passes all the local RT tests (with the exception of particle tests),
I don't believe it has been run at large scale (though it should work) on a BGQ or Quartz@llnl.

Summary of changes: (Note, see pidx_xml branch commits if you want more information.)

M CCA/Ports/ApplicationInterface.h
M CCA/Components/Application/ApplicationCommon.h

- Added the ability to record (and retrieve) the number for the last regrid time step.

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

- When saving as PIDX, only create/output timestep.xml on the initial (I/O) time step that occurs after the regrid.
- Fixes that allow PIDX to save correctly (and efficiently) in parallel. If you are ever trying
to trace this back, read the comments from the commit logs for the "pidx_xml" branch.
- Remove createPIDX_dirs() as it was commented out and Sid tells me that PIDX creats its own dirs and we don't need this.
- Lot of white space fixes.

M CCA/Components/Examples/RMCRT_Test.cc
M CCA/Components/PostProcessUda/PostProcess.cc

- The DataArchive (DA) queryVariables() function now also returns the number of materials for each variable.
- "else" and "else if" should be on a separate line to make it easier to read.

M CCA/Components/Models/Radiation/RMCRT/RayGPU.cc

- Differentiate the output between the GPU and non-GPU reports so the viewer knows explicitly whether the GPU code was run.

M CCA/Components/Schedulers/OnDemandDataWarehouse.h
M CCA/Components/Schedulers/OnDemandDataWarehouse.cc

- Cosmetics: Line up variables, use more than 80 chars per line, white space.
Add in comments denoting default param values.

M CCA/Components/Schedulers/SchedulerCommon.cc

- Cosmetics.

M CCA/Components/SimulationController/AMRSimulationController.cc

- Cosmetics: Use more white space, 80+ chars per line for better readability, etc.

M CCA/Ports/PIDXOutputContext.h

- const'ify some params.
- checkReturnCode() is a static function so mark it so.

M CCA/Ports/PIDXOutputContext.cc

- White spacee. Code alignment for readability.

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

- Add in PIDX functions. Note, queryPIDXSerial() is used (currently) by standalone codes (eg: puda).
Its purpose is to wrap the setupQueryPIDX()/queryPIDX() calls that have been added to
allow PIDX to truly run in parallel. At some point it would be good to update puda/compare_uda/etc
to run in parallel...
- See previous comments from PIDX branch for more details on the PIDX communicators that are necessary
to transfer data as some data does not live on all cores and thus can't use the golbal comm.

- Rename a few functions (queryAndSetParticlePositionName()) to be more accurate as to what they do.

- There are still a number of hacks in this code that need to be addressed (eg: var_materials map).

M Core/Geometry/IntVector.h

- Mostly cosmetics...
White space for readability.
Place 1-line functions in .h on one line to make it easier to see all provided functions.

M Core/Grid/Grid.cc

- White space, variable alignment for readability.

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

- White space, coding standard (return type on its own line).
- Fix logic error in computeVariableExtents() that did not handle periodic boundaries correctly.
This fix was suggested as probably the correct way to do it by Todd... seems to pass tests and did fix
the issue (PIDX saving a particular something or other) that led me to it.

M Core/Grid/Patch.cc

- Place "else" on its own line for readability.

M Core/Grid/Variables/GridVariable.h

- Added emitPIDX().
- Opening "{" for functions in .h files goes on same line.

M Core/Grid/Variables/GridVariableBase.h
M Core/Grid/Variables/GridVariableBase.cc

- Organize #includes.
- White space, line up vars, etc for better readability.
- Return type on its own line.

M Core/Grid/Variables/ParticleData.h

- #include ParticleSubset.h for particleIndex.

M Core/Grid/Variables/ParticleSubset.h

- Cosmetic white space.

M Core/Grid/Variables/ParticleVariable.h

- White space, variable line up, etc.
- Added emitPIDX() function for particles. Note, particles do not fully work yet (on PIDX side).
And thus, this function hasn't really been tested.

M Core/Grid/Variables/ParticleVariableBase.h
M Core/Grid/Variables/ParticleVariableBase.cc
M Core/Grid/Variables/PerPatchBase.h
M Core/Grid/Variables/PerPatchBase.cc
M Core/Grid/Variables/ReductionVariableBase.h
M Core/Grid/Variables/ReductionVariableBase.cc

- Cosmetic white space. Coding standards. Etc.

M Core/Grid/Variables/Variable.h
M Core/Grid/Variables/Variable.cc

- Organize #includes.
- Use "const" on params that are const.
- Cosmetic white space, etc.

M Core/Grid/Variables/VarnameMatlPatch.h

- Pass non-changing strings by const reference (instead of copying them).
- White space for readability.

M Core/ProblemSpec/ProblemSpec.cc

- Line up vars, white space.

M R_Tester/helpers/compare_dat_files.pl

- Strip "/" from end of uda names.
- Clean up output to make it more readable (Todd I hope this doesn't break some of your scripts...)

M R_Tester/helpers/compare_dats

- White space.

M R_Tester/helpers/runSusTests.py

- Fix typo.

M StandAlone/compare_uda.cc

- White space.
- Line up vars.
- Coding standard.
- Line up case statement for better readability.
- 0 => nullptr
- query() now returns if the var was found (because PIDX has a list of all variables the simulation starts with
and the vars may not actually exist in the UDA.
- var => var_name (as it is actually the name, and not the var).
- Use 80+ columns.

M StandAlone/partvarRange.cco
M StandAlone/selectpart.cc
M StandAlone/tools/compute_Lnorm_udas.cc
M StandAlone/tools/dumpfields/dumpfields.cc
M StandAlone/tools/extractors/extractF.cc
M StandAlone/tools/extractors/extractS.cc
M StandAlone/tools/extractors/extractV.cc
M StandAlone/tools/extractors/faceextract.cc
M StandAlone/tools/extractors/lineextract.cc
M StandAlone/tools/extractors/partextract.cc
M StandAlone/tools/extractors/particle2tiff.cc
M StandAlone/tools/extractors/timeextract.cc
M StandAlone/tools/puda/AA_MMS.cc
M StandAlone/tools/puda/ER_MMS.cc
M StandAlone/tools/puda/GV_MMS.cc
M StandAlone/tools/puda/ICE_momentum.cc
M StandAlone/tools/puda/PIC.cc
M StandAlone/tools/puda/POL.cc
M StandAlone/tools/puda/asci.cc
M StandAlone/tools/puda/jacquie.cc
M StandAlone/tools/puda/jim1.cc
M StandAlone/tools/puda/jim2.cc
M StandAlone/tools/puda/jim3.cc
M StandAlone/tools/puda/pressure.cc
M StandAlone/tools/puda/puda.cc
M VisIt/interfaces/archiveInterface.cc

- queryVariables() now returns number of materials.

M StandAlone/tools/puda/varsummary.h
M StandAlone/tools/puda/varsummary.cc

- Swat some evil endls.

M build_scripts/build_pidx.sh

- FYI... Not sure if changing PIDX_TAG to "master" actually works...

M buildbot_try.sh

- Added a number of comments about use of this script.
- Fixed some typos.
- Spread command to multiple lines for readability.

1 lines of code changed in 2 files:

  • CCA/Components/Models/Radiation/RMCRT: RayGPU.cc (+1 -1)
mcconnell 2018-04-17 14:42 Rev.: 58149

Reverted yet another file.

643 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+643 -770)
mcconnell 2018-04-16 15:54 Rev.: 58140

rolled back changes to r58119

55 lines of code changed in 2 files:

  • CCA/Components/Models/Radiation/RMCRT: Ray.cc (+54 -56), RayKokkos.cc (+1 -1)
mcconnell 2018-04-16 15:04 Rev.: 58137

Update copyright date.

2 lines of code changed in 2 files:

  • CCA/Components/Models/Radiation/RMCRT: Ray.cc (+1 -1), RayKokkos.cc (+1 -1)
mcconnell 2018-04-16 15:04 Rev.: 58128

removed need for calls to shared state for the time step and sim time

57 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: Ray.cc (+57 -55)
mcconnell 2018-04-16 14:49 Rev.: 58119

* Get views after setup for boundedRayLength.

770 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+770 -643)
allen 2018-04-02 17:54 Rev.: 58034

removed the shared state from the radiation model and re-invoked the in-situ

96 lines of code changed in 7 files:

  • CCA/Components/Models/Radiation/RMCRT: RMCRTCommon.h (-1), Ray.cc (+47 -48), Ray.h (+4 -4), RayKokkos.cc (+41 -40), RayKokkos.h (+4 -4)
allen 2018-03-17 15:45 Rev.: 57950

addition debug stream naming

3 lines of code changed in 3 files:

  • CCA/Components/Models/Radiation/RMCRT: RMCRTCommon.cc (new), RayGPU.cc (+1 -1)
allen 2018-03-17 13:47 Rev.: 57948

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

21 lines of code changed in 3 files:

  • CCA/Components/Models/Radiation/RMCRT: RMCRTCommon.cc (+5 -4), Ray.cc (+8 -8), RayKokkos.cc (+8 -9)
jholmen 2018-02-07 14:36 Rev.: 57784

* Removed Uintah::parallel_reduce.
* Added Uintah::parallel_reduce_min.
* Added Uintah::parallel_reduce_sum.
* Replaced use of Uintah::parallel_reduce with Uintah::parallel_reduce_sum.
* Replaced use of Uintah::parallel_for within KokkosSolver::computeStableTimeStep with Uintah::parallel_reduce_min.
* Cleaned up whitespace and formatting.

This commit extends Uintah's parallel patterns to support minimum reductions on scalar data.

144 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+144 -122)
jholmen 2018-01-25 22:25 Rev.: 57731

* Updated KokkosOpenMPScheduler.cc to use Kokkos::OpenMP::partition_master() for Kokkos-based builds.
* Added -npartitions and -nthreadsperpartition run-time options.
* Set the Kokkos-OpenMP Scheduler as the default scheduler for Kokkos-based builds.
* Added bulletproofing within SchedulerFactory.cc.
* Updated ProcessorGroup.h to use m_comm for -nthreads 1 or -npartitions 1.
* Added MasterLock.h to help avoid mixing synchronization primitives.
* Replaced use of #include <mutex> with #include <Core/Parallel/MasterLock.h>.
* Replaced use of std::mutex with Uintah::MasterLock.
* Cleaned up whitespace.

This commit extends the Kokkos-OpenMP Scheduler to support parallel execution of tasks within an MPI process.

Scheduler logic is based upon that of the Unified Scheduler, where individual threads are used as task runners.

In the context of the Kokkos-OpenMP Scheduler, individual partitions are used as task runners.

Individual partitions execute Kokkos-based tasks in parallel across the threads belonging to that partition and existing serial tasks serially.

Note, this scheduler requires MPI_THREAD_MULTIPLE support to run with multiple partitions per MPI process.

5 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.h (+5 -5)
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

2 lines of code changed in 2 files:

  • CCA/Components/Models/Radiation/RMCRT: Ray.cc (+1 -2), RayKokkos.cc (+1 -2)
jholmen 2018-01-12 13:51 Rev.: 57638

* Fixed dbgCell indexing.

3 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+3 -3)
jholmen 2018-01-12 12:33 Rev.: 57636

* Reverted RayKokkos.cc to r57476.
* Reverted RayKokkos.h to r57461.

This commit fixes Kokkos-based builds from trunk code.

461 lines of code changed in 2 files:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+457 -605), RayKokkos.h (+4 -161)
jas 2018-01-09 17:40 Rev.: 57604

Update copyright date.

12 lines of code changed in 17 files:

  • CCA/Components/Models/Radiation/RMCRT: RMCRTCommon.cc (+1 -1), RMCRTCommon.h (+1 -1), Radiometer.cc (+1 -1), Radiometer.h (new), Ray.cc (+1 -1), Ray.h (+1 -1), RayGPU.cc (+1 -1), RayGPU.cuh (new), RayGPUKernel.cu (+1 -1), RayKokkos.cc (+1 -1), RayKokkos.h (+1 -1), sub.mk (new)
allen 2018-01-08 16:33 Rev.: 57591

removed need for calls to shared state for the time step and sim time

73 lines of code changed in 6 files:

  • CCA/Components/Models/Radiation/RMCRT: RMCRTCommon.h (-1), Radiometer.cc (-2), Radiometer.h (-1), Ray.cc (+49 -27), Ray.h (+2 -2), RayGPU.cc (+22 -39)
jholmen 2018-01-08 11:36 Rev.: 57575

* Get views after setup for boundedRayLength.

33 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+33 -23)
bpeterson 2018-01-04 19:23 Rev.: 57561

Fixing a silly bug that gave bad outputs

2 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+2 -2)
jholmen 2018-01-04 16:50 Rev.: 57560

* Fixed dbgCell indexing.

3 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+3 -3)
jholmen 2018-01-04 16:16 Rev.: 57559

* Fixed debugging output.

2 lines of code changed in 1 file:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+2 -2)
bpeterson 2018-01-04 15:34 Rev.: 57558

This adds GPU portable RMCRT Data Onion. This commit also adds a ton of bug fixes.

757 lines of code changed in 2 files:

  • CCA/Components/Models/Radiation/RMCRT: RayKokkos.cc (+596 -459), RayKokkos.h (+161 -4)
Generated by StatSVN 0.7.0