Directory CCA/Components/ProblemSpecification/

Total Files:
3
Deleted Files:
0
Lines of Code:
2355

[root]/CCA/Components/ProblemSpecification

Lines of Code

CCA/Components/ProblemSpecification/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 11 (100.0%) 81 (100.0%) 7.3
ahumphrey 3 (27.3%) 36 (44.4%) 12.0
jas 5 (45.5%) 24 (29.6%) 4.8
dav 1 (9.1%) 21 (25.9%) 21.0
allen 2 (18.2%) 0 (0.0%) 0.0

Most Recent Commits

allen 2016-08-10 10:35 Rev.: 55619

removed all parallel dependency

0 lines of code changed in 2 files:

  • CCA/Components/ProblemSpecification: ProblemSpecReader.cc (new)
ahumphrey 2016-06-13 11:46 Rev.: 55440

Replace usage of NULL macro (type int) with nullptr (pointer literal of type: nullptr_t).

nullptr is implicitly convertible and comparable to any pointer type or pointer-to-member type, but is not implicitly comparable to integral types, except that it is convertible to bool (explicitly).

36 lines of code changed in 1 file:

  • CCA/Components/ProblemSpecification: ProblemSpecReader.cc (+36 -36)
ahumphrey 2016-06-07 09:19 Rev.: 55420

Removal of src/Core/Thread and related refactoring throughout the code-base.

This is the first step in a series of infrastrucutre overhauls to modernize Uintah. Though this all passes local RT (both CPU and GPU tests), I expect some fallout we haven't considered and will be standing by to deal with any issues. Once the dust settles, we will move to replacing Core/Malloc with jemalloc.

* We are now using the standard library for all multi-threading needs within the infrastructure, e.g. std::atomic, std::thread, std::mutex, etc.

* The Unified Scheduler is now the only multi-threaded scheduler, e.g. ThreadedMPIScheduler no longer exists (though the source will soon be placed into an attic).

* Threads spawned by the Unified Scheduler are detached by default (not joinable), allowing for easy, clean and independent execution. There are no longer ConditionVariables used to signal worker threads, just a simple enum for thread-state.

* What was Core/Thread/Time.* is now Core/Util/Time.* - a next step will be to migrate all internal timers, etc to use std::chrono.

* NOTE: Though much cleanup has occurred with this commit, there is still significant cleanup and formatting to be done. The scope of this commit neccessitates a more incremental approach.

0 lines of code changed in 2 files:

  • CCA/Components/ProblemSpecification: sub.mk (-1)
dav 2016-04-15 12:18 Rev.: 55191

A number of fixes for Titan (CUDA) and static builds in general. Also, with this commit, the stand-alone
tools such as puda and compare_uda should now work on machines that require static builds.

M configure
M configure.ac

- Turn back on the C++11 check.
- Fix check for broken exceptions (on Titan) that fails because the code is cross-compiled.
- When MPI is specified as built-in, the NVCC compiler fails to find mpi.h (as we don't specify
the -I/path/to/mpi/ flag). This commit uses the built-in compiler to find the location of mpi, and
provides the location to the NVCC compiler (using INC_MPI_H_NVCC).
- Remove some old debugging statements.
- Fix (hack) on Titan for problem with CUDA 7.0 and Boost. Must specify two -D flags.

M configVars.mk.in

- Add the INC_MPI_H_NVCC flag to the NVCC_CXXFLAGS var.
- Fix (copy/paste?) bug where cuda .d files were being deleted as thus make dependency information
was lost. I'm guessing that before this fix, Uintah CUDA developers must have experienced
strange behavior when modifying .h files as the code would not have re-built like it should have.
- Remove all .d files from the base directory... This is due to the fact that Titan's NVCC compiler
is leaving around many bogus/tmp .d files and not cleaning up after itself. It might be that
we should make a check for being on Titan (or a more general test for problematic NVCC .d
generation - though I'm not sure right off on how to write this check) - but for now the removing
of all .d files in the base dir should have no effect on anything else.
- Make verbose output not suppress the "rm" call.

M CCA/Components/Wasatch/Wasatch.h
M CCA/Components/Wasatch/Wasatch.cc

- Fix compiler warning about "const" return variables.
- White space.

M CCA/Components/ProblemSpecification/ProblemSpecReader.cc

- Allow for validation of .ups file on machines where the executable is not in build tree (eg: on Titan,
before running sus, you must move it to a file system visible to the compute nodes). In order
to use this functionality, you must copy the "inputs/" directory to the same location you move sus to.
- It appears that, when validating the .ups file, sus was doing the validation on every process. This
doesn't seem like it is necessary, so only do so now on proc 0...

M Core/Exceptions/ErrnoException.cc

- White space, {}s.

M Core/Grid/Variables/CCVariable.h
M Core/Grid/Variables/SFCYVariable.h
M Core/Grid/Variables/NCVariable.h
M Core/Grid/Variables/SFCXVariable.h
M Core/Grid/Variables/SFCZVariable.h

- Remove the "registerMe" code that is not used. Perhaps it was replaced with the current method of
registering Uintah variables but not cleaned up? Regardless, it doesn't do anything now, and
just makes tracking what is going on more difficult, so it is best that it be removed.
- Put one-line functions in a .h file on a single line to make it easier to view the class spec.

M Core/Grid/Variables/sub.mk

- Add the StaticInstantiate.cc file. This file is used to force Uintah variable registration on
machines that use static builds and don't register the variables in the normal/correct way
when the shared library (static constructors fire) is loaded.

A Core/Grid/Variables/StaticInstantiate.h
A Core/Grid/Variables/StaticInstantiate.cc

- Uintah relies on our variable types (CCVariable, NCVariable, etc) being registered with Uintah
before it allows components to create a variable of the given type. On most systems (and
specifically for shared lib builds), when the CCVariable.o code is loaded from libCore_Grid.so
static constructors fire and register the variables. However, on some machines that use static
builds (such as Titan) appear to "optimize out" these constructors, and thus the variables
never register themselves and when puda or compare_uda (etc) try to load data, the Uintah
type system says it does not recognize the type and dies. This commit adds the (hack) function
instantiateVariableTypes() which sole purpose is to create variables of all types that Uintah
uses so that they will register themselves with the type system. This function is called the
first time a DataArchive is created (on static builds). All the variables it creates go away
as soon as the function is done, but have by then registered themselves.

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

- Use the instantiateVariableTypes() function the 1st time a DataArchive is created (on static builds).
- Add a few more 'const's for variables that must not change.
- Indent properly, white space.
- Move some private data to the main private section.

M Core/Disclosure/TypeUtils.cc

- Move to 80+ columns for better readability.

M Core/Disclosure/TypeDescription.cc

- Remove the (non-used) Register section.

21 lines of code changed in 1 file:

  • CCA/Components/ProblemSpecification: ProblemSpecReader.cc (+21 -11)
jas 2016-03-15 18:24 Rev.: 55024

Move non-conflicting classes that were in SCIRun namespace to Uintah namespace.

21 lines of code changed in 1 file:

  • CCA/Components/ProblemSpecification: ProblemSpecReader.cc (+21 -22)
jas 2016-01-08 15:45 Rev.: 54640

Update copyright date to 2016.

3 lines of code changed in 4 files:

  • CCA/Components/ProblemSpecification: ProblemSpecReader.cc (+1 -1), ProblemSpecReader.h (+1 -1), sub.mk (+1 -1)
Generated by StatSVN 0.7.0