Directory Core/Exceptions/

Total Files:
38
Deleted Files:
1
Lines of Code:
2843

[root]/Core/Exceptions

Lines of Code

Core/Exceptions/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 109 (100.0%) 91 (100.0%) 0.8
jas 103 (94.5%) 84 (92.3%) 0.8
dav 2 (1.8%) 4 (4.4%) 2.0
ahumphrey 2 (1.8%) 3 (3.3%) 1.5
allen 2 (1.8%) 0 (0.0%) 0.0

Most Recent Commits

allen 2016-08-10 10:38 Rev.: 55621

added header to exception message

0 lines of code changed in 2 files:

  • Core/Exceptions: ProblemSetupException.cc (changed)
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).

3 lines of code changed in 2 files:

  • Core/Exceptions: Exception.cc (new)
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.

4 lines of code changed in 2 files:

  • Core/Exceptions: ErrnoException.cc (+4 -3)
jas 2016-03-15 18:24 Rev.: 55024

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

45 lines of code changed in 55 files:

  • Core/Exceptions: ArrayIndexOutOfBounds.cc (+2 -2), ArrayIndexOutOfBounds.h (+2 -2), AssertionFailed.cc (new), AssertionFailed.h (new), ConvergenceFailure.cc (new), ConvergenceFailure.h (new), DimensionMismatch.cc (new), DimensionMismatch.h (+2 -2), ErrnoException.cc (+2 -2), ErrnoException.h (+2 -2), Exception.cc (+2 -2), Exception.h (new), FileNotFound.cc (+2 -2), FileNotFound.h (new), GuiException.h (del), IllegalValue.h (new), InternalError.cc (new), InternalError.h (new), InvalidCompressionMode.h (new), InvalidGrid.h (new), InvalidState.h (+1 -1), InvalidValue.h (new), PapiInitializationError.cc (new), PapiInitializationError.h (new), ProblemSetupException.h (+1 -1), TypeMismatchException.h (+1 -1), UintahPetscError.h (new), VariableNotFoundInGrid.cc (new), VariableNotFoundInGrid.h (+2 -2)
jas 2016-01-08 15:45 Rev.: 54640

Update copyright date to 2016.

39 lines of code changed in 48 files:

  • Core/Exceptions: ArrayIndexOutOfBounds.cc (+1 -1), ArrayIndexOutOfBounds.h (+1 -1), AssertionFailed.cc (+1 -1), AssertionFailed.h (+1 -1), ConvergenceFailure.cc (+1 -1), ConvergenceFailure.h (+1 -1), DimensionMismatch.cc (+1 -1), DimensionMismatch.h (+1 -1), ErrnoException.cc (+1 -1), ErrnoException.h (+1 -1), Exception.cc (+1 -1), Exception.h (+1 -1), FileNotFound.cc (+1 -1), FileNotFound.h (+1 -1), GuiException.h (new 1), IllegalValue.h (+1 -1), InternalError.cc (+1 -1), InternalError.h (+1 -1), InvalidCompressionMode.cc (new), InvalidCompressionMode.h (+1 -1), InvalidGrid.cc (new), InvalidGrid.h (+1 -1), InvalidState.cc (new), InvalidState.h (+1 -1), InvalidValue.cc (new), InvalidValue.h (+1 -1), PapiInitializationError.cc (+1 -1), PapiInitializationError.h (+1 -1), ParameterNotFound.cc (+1 -1), ParameterNotFound.h (+1 -1), ProblemSetupException.cc (+1 -1), ProblemSetupException.h (+1 -1), TypeMismatchException.cc (new), TypeMismatchException.h (+1 -1), UintahPetscError.cc (+1 -1), UintahPetscError.h (+1 -1), VariableNotFoundInGrid.cc (+1 -1), VariableNotFoundInGrid.h (+1 -1), sub.mk (+1 -1)
Generated by StatSVN 0.7.0