aboutsummaryrefslogtreecommitdiff
path: root/Carpet
Commit message (Collapse)AuthorAge
* CarpetLib: Rewrite vectorisation of prolongate_3d_rf2Erik Schnetter2011-12-14
|
* LoopControl: Add more self-checkingErik Schnetter2011-12-14
|
* LoopControl: Add many asserts to check correctness at run timeErik Schnetter2011-12-14
|
* LoopControl: Remove explicit attribute(pure) declarationsErik Schnetter2011-12-14
|
* CarpetInterp2: Use level regridding epochErik Schnetter2011-12-14
| | | | | Use level regridding epoch to determine whether the interpolation communication scheme has to be recreated.
* Carpet: Finish implementing new "recursive" load balancing mechanismErik Schnetter2011-12-14
|
* Carpet: Output initial grid structureErik Schnetter2011-12-14
| | | | Output initial grid structure in the same way as after regridding.
* Carpet: Introduce per-level regridding epochsErik Schnetter2011-12-14
|
* Carpet: Use CCTK_Barrier instead of MPI_BarrierErik Schnetter2011-12-14
|
* CarpetIOHDF5: additional check ensuring that a default request is used if theRoland Haas2011-12-14
| | | | | | | | | | | | | current request does not exist for one_file_per_group output this is re #410: --8<-- by Erik Schnetter --8<-- The corresponding code in CarpetIOHDF5.cc, which outputs data that are not slices, uses the same algorithm. However, it contains an additional check ensuring that a default request is used if the corresponding request does not exist. Look for calls to IOUtil_DefaultIORequest to find this code. I believe that an equivalent logic would correct this problem in OutputSlice.cc. --8<-- by Erik Schnetter --8<--
* CarpetMask: Keep track of the volume that is masked outErik Schnetter2011-12-14
| | | | | | Keep track of the volume that is masked out by CarpetMask, and take this volume into account when checking in CarpetReduce that the integral over the simulation domain equals the domain volume.
* CarpetLib: Improve bboxlib algorithmsErik Schnetter2011-12-14
| | | | | | | Modify the algorithm used to insert a new bbox into an existing bboxset. This reduces the computational complexity of this operation from O(n^2) to O(n), where n is the number of elements in the bboxset. This has the potential to speed up regridding significantly.
* Carpet: Output number of buffer zones on startupErik Schnetter2011-12-14
|
* CarpetReduce: Constrain testsuites to 1 processor tests due to GFs.Tanja Bode2011-12-14
|
* Correct style file location in documentation.texIan Hinder2011-12-14
| | | | | | | | | --- Carpet/CarpetIOASCII/doc/documentation.tex | 2 +- Carpet/CarpetIOHDF5/doc/documentation.tex | 2 +- Carpet/CarpetInterp/doc/documentation.tex | 2 +- Carpet/CarpetReduce/doc/documentation.tex | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
* CarpetReduce: Update both testsuite files.Tanja Bode2011-12-14
|
* Introduce dummy Carpet::poison_value parameterIan Hinder2011-12-14
| | | | | | | | This parameter was removed in the past and is not used in current Carpet. However, to stop old parameter files from breaking, we reintroduce it. There is a warning in the param.ccl file that the parameter is unused, but no warning at runtime. This is not a big problem since poison is only used for debugging.
* Fix Carpet2ygraph.pl to work with new CarpetIan Hinder2011-12-14
| | | | | | | | | The script CarpetIOASCII/src/util/Carpet2ygraph.pl (it is the same both in the git and hg versions of Carpet) is not working anymore. I modified it in order to be able again to produce different output for the different refinement levels and now it can also work with more than 9 refinement levels. I have attached my version and the diff with the version in the repository.
* CarpetIOHDF5: update test suite checkpoints to new formatRoland Haas2011-12-14
|
* LoopControl: Disable random-restart hill climbing by defaultErik Schnetter2011-12-14
| | | | | | Disable random-restart hill climbing by default, as this makes a certain segfault vanish. (We don't know the cause of the segfault yet.)
* Carpet: Correct schedule and restriction traversal for postrestrictinitialRoland Haas2011-12-14
| | | | | | this is analogous to b4429f4006e5 and makes sure that all restrictions happen before routines in POSTRESTRICTINITIAL are called (which might trigger prolongation when doing a SYNC, thus pulling data from coarser levels.)
* Add Doxygen configuration filesErik Schnetter2011-12-14
| | | | | | | | | | | | | | | | | | | | Doxygen is a program which generates HTML documentation describing all the files, functions and classes of a program based on the C++ source. It uses comments in a particular format in the code. There is a search box and a tree view for the classes, as well as links to HTML versions of the source files. An example of the output is at http://damiana2.aei.mpg.de/~ianhin/carpet-doc/ To generate the documentation, go into the root Carpet directory and type "doxygen", assuming that doxygen is installed on the local system. The documentation will be generated in a new carpet-doc directory. Open the file carpet-doc/html/index.html to browse the documentation. It would be convenient to have the documentation generated in this way made available on the Carpet web site and updated after each commit to the repository. This patch provides a doxygen configuration file and a header file for the main documentation page.
* CarpetLib: avoid simultaneous implicit and explicit instantiation ofRoland Haas2011-12-14
| | | | prolongate_3d_cc_eno_rf2<T,3>
* Carpet: include unistd to make prototype of getpid visibleRoland Haas2011-12-14
| | | | also include explicit cast to int from pid_t
* Carpet: define _GNU_SOURCE to make sched_getaffinity prototype visibleRoland Haas2011-12-14
|
* CarpetLib: Correct component and process ids while regriddingErik Schnetter2011-12-14
| | | | | | | During regridding, there are two sets of component indices and process numbers, namely those of the old and of the new grid structure. Previously, Carpet would erroneously always use those of the new grid structure; this fails when the number of components changes.
* Carpet: Add backtrace output to file on fatal signalsRoland Haas2011-12-14
| | | | | | | | | | | | | | | | Modified version of Ian Hinder's and Justin Luitjens' code. When a Cactus simulation aborts with a signal, it is often difficult to determine which part of the code led to the problem. The attached patch registers a signal handler on Carpet startup for signals 11 and 6 (segmentation fault and abort, e.g. from assert()) which outputs a stack backtrace from each process to a file, including demangling symbol names. It uses some low-level and possibly unofficial APIs, and is likely not completely portable. However, I have tested it on Mac OS (gcc) and Linux (intel) and it works in those places. Part of this code was contributed by Justin Luitjens at the Carpet developers' workshop in summer 2010.
* CarpetIOHDF5: print more information for ID and termination checkpointknarf2011-12-14
| | | | | | CarpetIOHDF5 already prints the iteration and time for periodic checkpoints. This patch adds this to both of initial data checkpoints (also after restart) and termination checkpoints.
* CarpetRegrid2: Always regrid if AMR is usedErik Schnetter2011-12-14
|
* CarpetIOHDF5: fix parameters to GetAllActive to pass metalevel instead ofRoland Haas2011-12-14
| | | | | | map number this hopefully fixes ticket #446
* Carpet: add consistency check when stopping hierarchical timersRoland Haas2011-12-14
| | | | | | * add warning to identify the faulty timer if a non-current timer is tried to be stopped * when stopping timer make sure it is the current one (by name)
* Carpet: always stop started timers in OutputGH routineRoland Haas2011-12-14
|
* CarpetLib: Correct communication schedule for regridding prolongationErik Schnetter2011-12-14
| | | | | Correct communication schedule for regridding prolongation for cell-centred mesh refinement.
* CarpetMask CarpetReduce: New schedule bin SetupIMaskErik Schnetter2011-12-14
| | | | | | For consistency reasons, CarpetReduce sets up the reduction mask (weight function) partly using an integer bit field, partly using a real-values mask. Introduce separate groups for each.
* Carpet: New parameter to set granularity for domain decompositionErik Schnetter2011-12-14
| | | | | | Add new parameters Carpet::granularity and Carpet::granularity_boundary to choose a certain granularity for the process decomposition.
* Carpet: Correct schedule traversal for poststep and post_recover_variablesErik Schnetter2011-12-14
| | | | | | | | | | Traverse postrestrict bin in correct order (i.e. coarsest to finest), so that prolongation boundaries are applied consistently. Traverse post_recover_variables in only for current timelevel (not for all timelevels). Variables on past timelevels cannot have their boundary conditions applied consistently, because time interpolation for these may requires even older timelevels that are not available.
* Carpet: Loop over timelevels from past to futureErik Schnetter2011-12-14
| | | | | | When looping over timelevels, loop from past to future. In this way, the values "left over" in variables that do not have timelevels are the current values, which is more likely to be correct.
* CarpetRegrid2: Ignore non-symmetry if it is outside of the domainErik Schnetter2011-12-14
| | | | | | When testing whether refined region has a rotating-90 or rotating-180 symmetry, ignore non-symmetries that are outside of the simulation domain (because these are irrelevant).
* * updated cp/recovery par files -- now using CarpetRegrid2cott2011-12-14
| | | | * added new cp/recovery par files for cell-centered case
* LoopControl: Correct OpenMP parallelisation. Add self-tests.Erik Schnetter2011-12-14
| | | | | | | | | | Correct the OpenMP parallelisation: Previously, when the loop size is not a multiple of the block size assigned to each OpenMP thread, some grid points would be traversed multiple times. Add new parameter do_selftest that enables (somewhat expensive) self-tests to ensure in each loop that each grid point is traversed exactly once.
* LoopControl: Make selftest conditional on a parameterErik Schnetter2011-12-14
| | | | | Make selftest conditional on a new parameter do_selftest. Use atomic OpenMP statements in selftest.
* LoopControl: Improve checking Fortran type sizesErik Schnetter2011-12-14
|
* LoopControl: Disable some unused codeErik Schnetter2011-12-14
|
* LoopControl: Add a self-testErik Schnetter2011-12-14
| | | | | Add a self-test that ensure that all loops cover each grid point exactly once.
* Carpet: Output CPU affinity at startupErik Schnetter2011-12-14
| | | | | | Output CPU affinity at startup. Output thread statistics at startup. Output host name at startup.
* CarpetIOHDF5: Remove unnecessary function declarationErik Schnetter2011-12-14
|
* CarpetIOHDF5: New parameter skip_recover_variablesErik Schnetter2011-12-14
| | | | | Introduce a new parameter skip_recover_variables that skips recovery on a set of variables.
* CarpetRegrid2: Correct grid structure symmetrisationErik Schnetter2011-12-14
|
* CarpetRegrid2: Typo in commentErik Schnetter2011-12-14
|
* CarpetReduce: Correct boundary sizes in reduction mask setupErik Schnetter2011-12-14
| | | | The previous commit had an error.