[root]/Packages/Uintah/CCA/Components/DataArchiver
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 16 (100.0%) | 148 (100.0%) | 9.2 |
worthen | 13 (81.3%) | 100 (67.6%) | 7.6 |
dav | 2 (12.5%) | 46 (31.1%) | 23.0 |
jas | 1 (6.3%) | 2 (1.4%) | 2.0 |
move SCISHARE to UINTAHSHARE. Also disable the share flags if building static
13 lines of code changed in 4 files:
GridVariable reorganization: Add extra class layer GridVariable to Grid hierarchy - reduces much of the common code to one place. Changes nothing functionally. Also move DataWarehouse::getCopy and copyOut to OnDemandDatawarehouse. Other changes are to make sure changes compile - with reordering for templates and not including mpicxx.h
1 lines of code changed in 1 file:
Make the toplevel ProblemSpec responsible for deleting its xml tree when deleted. Comment out calls to releaseDocument
15 lines of code changed in 2 files:
Bryan, I'd really appreciate it if you could go over these changes and verify that they work...
Stop by if you'd like to talk them through. Thanks!
M Core/OS/Dir.cc
M Core/OS/Dir.h
This code needs to be REVIEWED and TESTED still...
Added removeDir() which deletes a directory and all of its children (files/dirs).
Indented.
M Core/Util/FileUtils.cc
M Core/Util/FileUtils.h
Added testFilesystem() call (which opens a file, writes to it, checks its size, deletes it).
M Packages/Uintah/CCA/Components/DataArchiver/DataArchiver.cc
Use the removeDir() call (which uses C++ calls to delete a dir (instead of system()). If it fails,
run the new testFilesystem() routine. Also check to see if system() seems to be working.
33 lines of code changed in 1 file:
Mostly (C-SAFE Sandia) Redstorm (RS) fixes...
M include/sci_algorithm.h
Apparently RS already has is_sorted...
M Core/OS/sub.mk
No sock support on RS.
M Core/Exceptions/Exception.cc
M Core/Thread/Thread.cc
No terminal support on the compute nodes, so can't drop into a debugger...
(Not sure why we have what looks like the same code in two different places...)
M Core/Util/sub.mk
No support for these things on RS:
- DynamicLoader.cc
- DynamicCompilation.cc
- soloader.cc
- Socket.cc
so don't build them.
M Core/Util/sci_system.cc
Can't call 'system' on RS.
Indent/whitespace.
M Core/Util/TypeDescription.cc
M Core/Util/TypeDescription.h
Compiler can't resolve fill_compile_info() function (can't find
it?)... we don't use it (it is for SCIRun) on RS anyway, so turn it
off.
M Packages/Uintah/sub.mk
Don't need to set libs/etc... 'cause nothing is built in this dir.
M Packages/Uintah/CCA/Components/MPM/MPMCommon.cc
M Packages/Uintah/CCA/Components/ICE/ICE.cc
Check to see if stringstream worked... (RS handles it differently then
the c++ spec... go figure.)
Indent.
M Packages/Uintah/CCA/Components/DataArchiver/DataArchiver.cc
Better file open failure error message.
Indent.
M Packages/Uintah/CCA/Components/Schedulers/MPIScheduler.cc
Fix #include to use full path.
Indent.
M Packages/Uintah/CCA/Components/Schedulers/SchedulerCommon.cc
Indent. RS needs time.h.
M Packages/Uintah/Core/Grid/Variables/Variable.cc
Indent. Coding standard return type. Use {}.
Better write failure error msg.
No gzip on RS.
- Though putting this in might not be too hard. I think we have the library on RS.
M Packages/Uintah/Core/Grid/SimulationState.cc
Whitespace.
M Packages/Uintah/Core/DataArchive/DataArchive.cc
M Packages/Uintah/Core/ProblemSpec/ProblemSpec.cc
Robustness check (for istringstream).
M Packages/Uintah/Core/Disclosure/TypeUtils.cc
M Packages/Uintah/Core/Disclosure/TypeUtils.h
RS compiler has problem with resolving templated find_type_name() function.
It isn't used anyway as we don't build SCIRun.
Indent.
M Packages/Uintah/StandAlone/sus.cc
RS:
- requires time.h
- doesn't support disallow_sgi_OpenGL_page0_sillyness(0
- can't run diff command
- can't do initial sleep for debugger attachment
Goodbye to endls. :)
M Packages/Uintah/StandAlone/sub.mk
RS needs to link statically so all libs must be listed on the compile
line... this is the same as on AIX, so we use the AIX syntax. (There
is a small possiblity that this is going to cause a problem on
uP... FS, can you please check?)
13 lines of code changed in 1 file:
Fix string warning
1 lines of code changed in 1 file:
Disable changing the uda name mid-run (like in a switcher)
9 lines of code changed in 1 file:
Fix restart when using the switcher component.
2 lines of code changed in 1 file:
Some small things:
fix windows compile
when sus goes down successfully, print out the last timestep it did
when there is a taskgraph cycle, print out the entire cycle
print out the number of procs (and the number of bits) from a run in the timestep.xml:meta section
3 lines of code changed in 1 file:
Get DataArchiver to output Stretch Grid coordinates, and the DataArchive to read them into the grid. compare_uda succesfully passes between a run with stretched grids and its restart.
Poisson: Fix a crash with a null grid (advance the DW before compiling the subscheduler).
23 lines of code changed in 1 file:
DataArchive changes (and to those who use it):
API change - all queries (except those for a range of time values) take the index in the timestep array instead of the time value
internal change - store everything time-related in struct TimeData (which contains Patch properties, material properties, variable properties, and a HashTable of file-reading information)
Don't keep around ProblemSpecPs for the p***.xml datafiles (store what you read from the datafile). This *might* be a tradeoff in favor of memory at the possible cost of performance. I might change this back later if I determine it to be faster at not much of an expense to memory.
Change any function who uses DataArchive to compensate for the changed API, and a few other cosmetic changes.
3 lines of code changed in 1 file:
Remove certain entries from input.xml to avoid restart confusion. The original values are copied to input.xml.orig, and restart values are used in timestep.xml
32 lines of code changed in 1 file: